Package io.airbyte.configoss
Class FailureReason
java.lang.Object
io.airbyte.configoss.FailureReason
- All Implemented Interfaces:
Serializable
FailureSummary
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates where the error originated.static enumCategorizes well known errors into types for programmatic handling. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHuman readable failure description for presentation in the UI to non-technical users.Indicates where the error originated.Categorizes well known errors into types for programmatic handling.Human readable failure description for consumption by technical system operators, like Airbyte engineers or OSS users.Key-value pairs of relevant dataTrue if it is known that retrying may succeed, e.g.Raw stacktrace associated with the failure.(Required)inthashCode()voidsetExternalMessage(String externalMessage) Human readable failure description for presentation in the UI to non-technical users.voidsetFailureOrigin(FailureReason.FailureOrigin failureOrigin) Indicates where the error originated.voidsetFailureType(FailureReason.FailureType failureType) Categorizes well known errors into types for programmatic handling.voidsetInternalMessage(String internalMessage) Human readable failure description for consumption by technical system operators, like Airbyte engineers or OSS users.voidsetMetadata(Metadata metadata) Key-value pairs of relevant datavoidsetRetryable(Boolean retryable) True if it is known that retrying may succeed, e.g.voidsetStacktrace(String stacktrace) Raw stacktrace associated with the failure.voidsetTimestamp(Long timestamp) (Required)toString()withExternalMessage(String externalMessage) withFailureOrigin(FailureReason.FailureOrigin failureOrigin) withFailureType(FailureReason.FailureType failureType) withInternalMessage(String internalMessage) withMetadata(Metadata metadata) withRetryable(Boolean retryable) withStacktrace(String stacktrace) withTimestamp(Long timestamp)
-
Constructor Details
-
FailureReason
public FailureReason()
-
-
Method Details
-
getFailureOrigin
Indicates where the error originated. If not set, the origin of error is not well known. -
setFailureOrigin
Indicates where the error originated. If not set, the origin of error is not well known. -
withFailureOrigin
-
getFailureType
Categorizes well known errors into types for programmatic handling. If not set, the type of error is not well known. -
setFailureType
Categorizes well known errors into types for programmatic handling. If not set, the type of error is not well known. -
withFailureType
-
getInternalMessage
Human readable failure description for consumption by technical system operators, like Airbyte engineers or OSS users. -
setInternalMessage
Human readable failure description for consumption by technical system operators, like Airbyte engineers or OSS users. -
withInternalMessage
-
getExternalMessage
Human readable failure description for presentation in the UI to non-technical users. -
setExternalMessage
Human readable failure description for presentation in the UI to non-technical users. -
withExternalMessage
-
getMetadata
Key-value pairs of relevant data -
setMetadata
Key-value pairs of relevant data -
withMetadata
-
getStacktrace
Raw stacktrace associated with the failure. -
setStacktrace
Raw stacktrace associated with the failure. -
withStacktrace
-
getRetryable
True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known. -
setRetryable
True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known. -
withRetryable
-
getTimestamp
(Required) -
setTimestamp
(Required) -
withTimestamp
-
toString
-
hashCode
public int hashCode() -
equals
-