pub struct CCError {
pub type_: i32,
pub message: String,
pub other_info: Option<CCErrorOtherInfo>,
}
Expand description
This object provides detailed information about an error encountered while processing the request. It includes an error code, a message explaining the error, and additional context about the parameters or values that caused the issue. This helps clients identify and resolve issues with their requests.
Fields§
§type_: i32
A public facing error type. If you want to treat a specific error use the type.
message: String
A message describing the error.
other_info: Option<CCErrorOtherInfo>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CCError
impl<'de> Deserialize<'de> for CCError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CCError
impl RefUnwindSafe for CCError
impl Send for CCError
impl Sync for CCError
impl Unpin for CCError
impl UnwindSafe for CCError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more