Crate srcerr[−][src]
Types to track error codes and details.
This library provies a SourceError
struct that holds:
ErrorCode
: Enum whose variants indicate error code, simple description.ErrorDetail
: Enum with matching variants toErrorCode
, but each variant contains information specific to an instance of the error.Severity
: The severity to report the error.
Examples
Sample usage can be seen in the repository examples.
Re-exports
pub use codespan; |
pub use codespan_reporting; |
Modules
fmt | Utility classes for formatting messages. |
model | Data types representing the source error. |
Structs
SourceError | Information about an error from source data. |
Traits
ErrorCode | Error codes of an application. |
ErrorDetail | Detail of a specific error. |