Module mail::error

source ·
Expand description

re-export of all error types

From:

  • mail-internals
  • mail-headers
  • mail-core
  • mail-template
  • mail-smtp (feature: smtp)

Macros

Macro for easier returning an EncodingError.

Structs

Creating a (header field) component from the given data failed
A general error appearing when encoding failed in some way.
This error can occur if different implementations for the same header (e.g. Subject) where used in the same HeaderMap.
The loading of an Resource failed.

Enums

The build-in error variants (error kinds) which can be returned when running a header map validator.
Helper type which is either a Backtrace or an full failure::Error.
A general error appearing when encoding failed in some way.
A validator specified in a header definition failed.
General Error combining most other error wrt. mail creation and encoding.
Error caused by failing to load an Resource
Reasons why the loading of an Resource can fail.
Error returned when trying to unload and Resource and it fails.

Constants