pub type Error = ErrorData;Aliased Type§
pub struct Error {
pub code: ErrorCode,
pub message: Cow<'static, str>,
pub data: Option<Value>,
}Fields§
§code: ErrorCodeThe error type that occurred.
message: Cow<'static, str>A short description of the error. The message SHOULD be limited to a concise single sentence.
data: Option<Value>Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).