Expand description
AppErr is a wrapper object intended to hold application-specific errors.
The archetypal use-case is to allow applications that call library runtimes which call application callbacks to allow the application callbacks to return application-specific errors back to itself through the runtime.
Alternatives
There are other ways to solve the same problem, but they are not always feasible.
- Traits can use associated types to declare the application-specific error types.
- A generic parameter can be used to declare the application-specific error type.
Structs
- An error type used to pass an application-specific error through a library runtime.