Companion
Properties
Functions
Link copied to clipboard
Converts the current ErrorInfo instance into a Materialized if it is not already one. If the current instance is of type Materialized, it returns itself. Otherwise, it creates a new DefaultErrorInfo with the current error code, error message, and binding errors.
Link copied to clipboard
fun of(errorCode: String, errorMsg: String? = null, bindingErrors: List<BindingError> = emptyList()): DefaultErrorInfo
Creates an instance of ErrorInfo with the specified error code, optional error message, and a list of binding errors.
Link copied to clipboard