Enum sxd_xpath::function::Error []

pub enum Error {
    TooManyArguments {
        expected: usize,
        actual: usize,
    },
    NotEnoughArguments {
        expected: usize,
        actual: usize,
    },
    ArgumentMissing,
    WrongType {
        expected: ArgumentType,
        actual: ArgumentType,
    },
    Other(String),
}

The errors that may occur while evaluating a function

Variants

Fields of TooManyArguments

Fields of NotEnoughArguments

Fields of WrongType

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 Hash for Error
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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