Enum cvar::InnerError [] [src]

pub enum InnerError {
    NameError,
    ListError,
    PropError,
    ActionError,
    ParseError(Box<StdError>),
    ChangeError(Box<StdError>),
    ConstError,
    InvokeError(Box<StdError>),
}

Contextless error.

Variants

Name not found error.

When traversing the cvar hierarhcy, a child by the name was not found.

Node is not a list.

When traversing the cvar hierarchy, expected the child to implement IList.

This happens when an id is given (eg. foo.prop.baz) but foo.prop is not a list of cvars itself.

Node is not a property.

When traversing the cvar hierarchy, expected the child to implement IProperty.

This happens when an id is given (eg. foo.list) to get or set its value but foo.list is not a property.

Node is not an action.

When traversing the cvar hierarchy, expected the child to implement IAction.

This happens when an id is invoked (eg. foo.bar) but foo.bar is not an action.

Error parsing the value.

Error validating the value.

Cannot modify the cvar.

The property is read-only and cannot be modified.

Error invoking the action.

Trait Implementations

impl Debug for InnerError
[src]

Formats the value using the given formatter.

impl Display for InnerError
[src]

Formats the value using the given formatter. Read more

impl StdError for InnerError
[src]

A short description of the error. Read more

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