Module error

Source
Expand description

Provides error types.

§Default error handler

If a logger or sink does not have an error handler set up, a default error handler will be used, which will print the error to stderr.

Structs§

BuildPatternErrorruntime-pattern
Indicates that an error occurred while building a pattern at compile-time.
SetLoggerNameError
Indicates that an invalid logger name was set.

Enums§

EnvLevelError
The error type of environment level initialization.
Error
Contains most errors of this crate.
InvalidArgumentError
Indicates that an invalid parameter was specified.
SendToChannelErrormulti-thread
Indicates that an error occurred while sending to channel.
SendToChannelErrorDroppedmulti-thread
Contains data that is dropped after sending to the channel failed.

Type Aliases§

ErrorHandler
The error handler function type.
Result
The result type of this crate.