Enum arthroprod::ArError [] [src]

pub enum ArError {
    InvalidIndex(String),
    InvalidComponentOrder(String),
    ComponentNotAllowed(String),
    InvalidConfig(String),
}

Errors that can be returned by arthroprod functions to external callers.

Variants

The index passed was not one of 0, 1, 2 or 3.

Components can only be of order 0, 1, 2, 3 or 4.

The component provided is not a member of ALLOWED.

There was an attempt to create an invalid config variable (ALLOWED, METRIC, TARGETS).

Trait Implementations

impl Debug for ArError
[src]

[src]

Formats the value using the given formatter.

impl Error for ArError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for ArError
[src]

[src]

Formats the value using the given formatter. Read more