pub enum NyarErrorKind {
Show 16 variants InvalidOperationInfix { op: String, lhs: String, rhs: String, }, InvalidOperationPrefix { op: String, item_type: String, }, InvalidOperationSuffix { op: String, item_type: String, }, InvalidCast { item_type: String, }, InvalidIndex { index: String, item_type: String, }, InvalidIterator { item_type: String, }, IfLost, IfNonBoolean, VariableNotFound { name: String, }, WriteUnwritable { name: String, }, CustomErrorText { text: String, }, LexerError { info: String, }, IOError(Error), FormatError(Error), ParseIntegerError { kind: ParseIntegerError, }, ParseDecimalError(ParseFloatError),
}

Variants

InvalidOperationInfix

Fields

op: String
lhs: String
rhs: String

InvalidOperationPrefix

Fields

op: String
item_type: String

InvalidOperationSuffix

Fields

op: String
item_type: String

InvalidCast

Fields

item_type: String

InvalidIndex

Fields

index: String
item_type: String

InvalidIterator

Fields

item_type: String

IfLost

IfNonBoolean

VariableNotFound

Fields

name: String

WriteUnwritable

Fields

name: String

CustomErrorText

Fields

text: String

LexerError

Fields

info: String

IOError(Error)

FormatError(Error)

ParseIntegerError

Fields

kind: ParseIntegerError

ParseDecimalError(ParseFloatError)

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.