Package-level declarations

Types

Link copied to clipboard
data class BindingError(val name: String, val msg: String) : Named

Represents an error that occurs during the binding process, typically when data is being mapped to or from an object. This class extends the Named interface, inheriting the name property which can be used to identify the source or context of the error.

Link copied to clipboard
data class DefaultErrorInfo(val errorCode: String, val errorMsg: String, val bindingErrors: List<BindingError> = emptyList()) : ErrorInfo, Materialized

Represents a default implementation of the ErrorInfo interface, providing a concrete structure for error information. This class includes an error code, an error message, and optionally a list of BindingError instances that can detail errors occurring during data binding processes. It also implements the Materialized interface, indicating it is a fully realized instance of ErrorInfo.

Link copied to clipboard
interface ErrorInfo

Represents the information about an error, including whether the operation succeeded, the error code, and any associated messages or binding errors.

Link copied to clipboard

Enumerates the types of recoverability for errors or operations, allowing for classification and handling based on whether an error is transient and can be resolved by retrying.