Module error

Source
Expand description

Error-related types and traits.

It re-exports the error and result types defined in other modules.

Extends: std::{error}


Structs§

FailedErrorConversion
🚩 A failed conversion between two error types.
IoError
🚩+ ?std Error type for IoRead, IoWrite, IoSeek operations.
NotImplemented
🚩 The requested functionality is not implemented.
NotSupported
🚩 The requested functionality is not supported by this type.

Enums§

AllErrorerror
🚩+ The root error type, aggregating all module-specific errors.
AllErrorKinderror
🚩+ The kind of root error type, aggregating all module-specific error kinds.
AudioErroraudio
🚩+ An audio-related error.
ColorErrorcolor
🚩+ A color-related error.
DataErrorerror and data··
🚩+ A data-related composite error.
DrawErrordraw
🚩+ A drawing-related error.
FontErrorfont
🚩+ A font-related error.
ImageErrorimage
🚩+ An image-related error.
IoErrorKind
🚩+ ?std A list specifying general categories of I/O error.
LayoutErrorlayout
🚩+ A layout-related error.
MediaErrormedia··
🚩+ A media-related error.
MidiErrormidi
🚩+ A midi-related error.
NotAvailable
🚩+ An error composite of NotImplemented + NotSupported.
NumError
🚩+ A numeric-related error.
TextErrorerror and text··
🚩+ A text-related composite error.
TimeErrorerror and time
🚩+ A text-related composite error.

Traits§

Error
core A trait representing the basic expectations for error values.
ExtError
Extension trait providing additional methods for T:Error.

Type Aliases§

AllResulterror
⚖️ The root result type, aggregating all module-specific results.
AudioResultaudio
⚖️ An audio-related result.
ColorResultcolor
⚖️ A color-related result.
DataResulterror and data··
⚖️ A data-related result.
DrawResultdraw
⚖️ A drawing-related result.
FontResultfont
⚖️ A font-related result.
ImageResultimage
⚖️ An image-related result.
IoResult
⚖️ ?std A specialized Result type for I/O operations.
LayoutResultlayout
⚖️ A layout-related result.
MediaResultmedia··
⚖️ A media-related result.
MidiResultmidi
⚖️ A midi-related result.
NumResult
⚖️ A numeric-related result.
TextResulterror and text··
⚖️ A text-related result.
TimeResulterror and time
⚖️ A text-related result.