GoodMemGoodMem
ReferenceSdkRustTypes

ErrorDetail

Rust struct goodmem::models::ErrorDetail: declaration, fields or variants, and implementations.

All types

Struct ErrorDetail

goodmem::models::ErrorDetail

Structured error details for an individual batch operation result

pub struct ErrorDetail {
    pub code: i32,
    pub message: String,
}

Fields

code

pub code: i32

Numeric error code (typically an HTTP or gRPC-derived status code) Wire name: code.

message

pub message: String

Human-readable error message Wire name: message.

Implementations

validate

pub fn validate(&self) -> crate::Result<()>

Validate the request before sending, without making an HTTP call.

Trait implementations

  • Clone (derived)
  • Default (derived)
  • PartialEq (derived)
  • Serialize (derived)
  • impl<'de> Deserialize<'de> for ErrorDetail
  • impl std::fmt::Debug for ErrorDetail

On this page