DefaultErrorInfo

constructor(errorCode: String, errorMsg: String, bindingErrors: List<BindingError> = emptyList())

Parameters

errorCode

The unique identifier for the type of error.

errorMsg

A human-readable message describing the error.

bindingErrors

An optional list of BindingError objects, representing additional errors that occurred during the binding process. Defaults to an empty list if not provided.