pub enum Error {
EnumFormatMismatch {
format: String,
value: String,
},
Enclosed {
key: String,
cause: Box<Error>,
},
FormatFailed {
detail: String,
},
InvalidToken {
target: String,
},
Multiple(Vec<Error>),
ReferenceObjectNotFound(String),
TransformBroken {
detail: String,
},
Unimplemented {
message: String,
},
}Variants§
EnumFormatMismatch
Cause: Client
- e.g.,
format: "int32"with a value that exceeds thei32range.
Enclosed
FormatFailed
Cause: Client
rustfmtis missing.
Cause: Internal
- The generated code is malformed.
InvalidToken
Cause: Client
- Invalid character or unrecognized symbol in the token
Multiple(Vec<Error>)
ReferenceObjectNotFound(String)
Cause: Client
- References a schema that does not exist.
TransformBroken
Cause: Internal
- a shape that has not been processed correctly.
Unimplemented
Cause: Internal
- The property is not supported.
- The property is unimplemented in the current version.
Trait Implementations§
Source§impl ContextAppendable<String> for Error
impl ContextAppendable<String> for Error
Source§impl ContextBindable<String> for Error
impl ContextBindable<String> for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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