Enum rad::RadError[][src]

pub enum RadError {
Show 16 variants AssertFail, InvalidCommandOption(String), EnvError(VarError), InvalidMacroName(String), InvalidRegex(Error), InvalidArgument(String), InvalidArgInt(ParseIntError), InvalidArgBoolean(ParseBoolError), InvalidFile(String), StdIo(Error), Utf8Err(FromUtf8Error), UnsupportedTableFormat(String), BincodeError(String), PermissionDenied(StringAuthType), StrictPanic, Panic,
}
Expand description

R4d’s error type

Variants

AssertFail
InvalidCommandOption(String)

Tuple Fields of InvalidCommandOption

0: String
EnvError(VarError)

Tuple Fields of EnvError

0: VarError
InvalidMacroName(String)

Tuple Fields of InvalidMacroName

0: String
InvalidRegex(Error)

Tuple Fields of InvalidRegex

0: Error
InvalidArgument(String)

Tuple Fields of InvalidArgument

0: String
InvalidArgInt(ParseIntError)

Tuple Fields of InvalidArgInt

0: ParseIntError
InvalidArgBoolean(ParseBoolError)

Tuple Fields of InvalidArgBoolean

0: ParseBoolError
InvalidFile(String)

Tuple Fields of InvalidFile

0: String
StdIo(Error)

Tuple Fields of StdIo

0: Error
Utf8Err(FromUtf8Error)

Tuple Fields of Utf8Err

0: FromUtf8Error
UnsupportedTableFormat(String)

Tuple Fields of UnsupportedTableFormat

0: String
BincodeError(String)

Tuple Fields of BincodeError

0: String
PermissionDenied(StringAuthType)

Tuple Fields of PermissionDenied

0: String1: AuthType
StrictPanic
Panic

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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.

Converts the given value to a String. Read more

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.