Enum lib_ruby_parser::source::InputError [−][src]
Expand description
An enum with all possible kinds of errors that can be returned from a decoder
Variants
UnsupportedEncoding(String)Emitted when no custom decoder provided but input has custom encoding.
You can return this error from your custom decoder if you don’t support given encoding.
DecodingError(String)Generic error that can be emitted from a custom decoder
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputErrorimpl Send for InputErrorimpl Sync for InputErrorimpl Unpin for InputErrorimpl UnwindSafe for InputError