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 InputError
impl Send for InputError
impl Sync for InputError
impl Unpin for InputError
impl UnwindSafe for InputError