Uses of Enum Class
com.tnsai.observability.errors.ErrorCategory
Packages that use ErrorCategory
-
Uses of ErrorCategory in com.tnsai.observability.errors
Methods in com.tnsai.observability.errors that return ErrorCategoryModifier and TypeMethodDescriptionErrorReport.category()Returns the value of thecategoryrecord component.static ErrorCategoryReturns the enum constant of this class with the specified name.static ErrorCategory[]ErrorCategory.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tnsai.observability.errors with parameters of type ErrorCategoryModifier and TypeMethodDescriptionErrorReport.Builder.category(ErrorCategory v) static voidConvenience: capture-and-publish in one call.static ErrorReportErrorEmitter.report(Throwable t, ErrorCategory category, Map<String, Object> attributes, Map<String, String> relevantAttributes) Convenience: full report with the caller's classification + attributes applied.Constructors in com.tnsai.observability.errors with parameters of type ErrorCategoryModifierConstructorDescriptionErrorReport(String reportId, Instant timestamp, String fingerprint, String errorClass, String errorCode, String message, List<CauseInfo> causeChain, ErrorCategory category, boolean retryable, Optional<Duration> suggestedRetryDelay, String stackTraceDigest, Optional<String> fullStackTrace, Optional<EventContext> context, Optional<String> recoveryAction, int recoveryAttempts, Map<String, Object> attributes, List<String> relatedEventIds) Creates an instance of aErrorReportrecord class.