pub enum Ck3ErrorKind {
    ZipCentralDirectory(ZipError),
    ZipMissingEntry(&'static strZipError),
    ZipExtraction(&'static strIoError),
    ZipSize(&'static str),
    IoErr(IoError),
    UnknownHeader,
    UnknownToken {
        token_id: u16,
    },
    Deserialize {
        part: Option<String>,
        err: Error,
    },
}
Expand description

Specific type of error

Variants

ZipCentralDirectory(ZipError)

ZipMissingEntry(&'static strZipError)

ZipExtraction(&'static strIoError)

ZipSize(&'static str)

IoErr(IoError)

UnknownHeader

UnknownToken

Fields

token_id: u16

Deserialize

Fields

part: Option<String>
err: Error

Trait Implementations

Formats the value using the given formatter. Read more

Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.