Enum term::terminfo::parm::Error [] [src]

pub enum Error {
    StackUnderflow,
    TypeMismatch,
    UnrecognizedFormatOption(char),
    InvalidVariableName(char),
    InvalidParameterIndex(char),
    MalformedCharacterConstant,
    IntegerConstantOverflow,
    MalformedIntegerConstant,
    FormatWidthOverflow,
    FormatPrecisionOverflow,
}

An error from interpreting a parameterized string.

Variants

Data was requested from the stack, but the stack didn't have enough elements.

The type of the element(s) on top of the stack did not match the type that the operator wanted.

An unrecognized format option was used.

An invalid variable name was used.

An invalid parameter index was used.

A malformed character constant was used.

An integer constant was too large (overflowed an i32)

A malformed integer constant was used.

A format width constant was too large (overflowed a usize)

A format precision constant was too large (overflowed a usize)

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more