Enum salak::PropertyError[][src]

pub enum PropertyError {
    ParseFail(Option<String>, Box<dyn Error>),
    ResolveFail(String),
    ResolveNotFound(String),
    RecursiveFail(String),
    NotFound(String),
    ResourceNotFound(&'static str, &'static str),
    ResourceRegistered(&'static str, &'static str),
    ResourceRecursive(&'static str, &'static str),
}
Expand description

Property error for the whole crate.

Variants

ParseFail

Property parse failed.

Tuple Fields of ParseFail

0: Option<String>1: Box<dyn Error>
ResolveFail

Resolve fail.

Tuple Fields of ResolveFail

0: String
ResolveNotFound

Property not found when resolve.

Tuple Fields of ResolveNotFound

0: String
RecursiveFail

Recursive parsing same key.

Tuple Fields of RecursiveFail

0: String
NotFound

Property not found

Tuple Fields of NotFound

0: String
ResourceNotFound

Resource not found

Tuple Fields of ResourceNotFound

0: &'static str1: &'static str
ResourceRegistered

Resource already registered.

Tuple Fields of ResourceRegistered

0: &'static str1: &'static str
ResourceRecursive

Resource recursive dependent.

Tuple Fields of ResourceRecursive

0: &'static str1: &'static str

Implementations

Create parse fail error.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.