Enum air::LastErrorObjectError
source · pub enum LastErrorObjectError {
ScalarMustBeObject(Value),
ScalarMustContainField {
scalar: Value,
field_name: &'static str,
},
ScalarFieldIsWrongType {
scalar: Value,
field_name: &'static str,
expected_type: &'static str,
},
}
Expand description
Describes errors related to converting a scalar into error object.
Variants§
Trait Implementations§
source§impl Clone for LastErrorObjectError
impl Clone for LastErrorObjectError
source§fn clone(&self) -> LastErrorObjectError
fn clone(&self) -> LastErrorObjectError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LastErrorObjectError
impl Debug for LastErrorObjectError
source§impl Display for LastErrorObjectError
impl Display for LastErrorObjectError
source§impl Error for LastErrorObjectError
impl Error for LastErrorObjectError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<LastErrorObjectError> for CatchableError
impl From<LastErrorObjectError> for CatchableError
source§fn from(source: LastErrorObjectError) -> Self
fn from(source: LastErrorObjectError) -> Self
Converts to this type from the input type.