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
InvalidIndex(String)
The index passed was not one of 0, 1, 2 or 3.
InvalidComponentOrder(String)
Components can only be of order 0, 1, 2, 3 or 4.
ComponentNotAllowed(String)
The component provided is not a member of ALLOWED.
InvalidConfig(String)
There was an attempt to create an invalid config variable (ALLOWED, METRIC, TARGETS).
Trait Implementations
impl Debug for ArError
[src]
impl Error for ArError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more