pub struct PaddleApiError {
pub error_type: ErrorType,
pub code: String,
pub detail: String,
pub documentation_url: String,
pub errors: Option<Vec<ValidationError>>,
}
Expand description
Error type returned from the Paddle API
Fields§
§error_type: ErrorType
Type of error encountered.
code: String
Short snake case string that describes this error. Use to search the error reference.
detail: String
Some information about what went wrong as a human-readable string.
documentation_url: String
Link to a page in the error reference for this specific error.
errors: Option<Vec<ValidationError>>
List of validation errors.
Trait Implementations§
Source§impl Debug for PaddleApiError
impl Debug for PaddleApiError
Source§impl<'de> Deserialize<'de> for PaddleApiError
impl<'de> Deserialize<'de> for PaddleApiError
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 PaddleApiError
impl RefUnwindSafe for PaddleApiError
impl Send for PaddleApiError
impl Sync for PaddleApiError
impl Unpin for PaddleApiError
impl UnwindSafe for PaddleApiError
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