[][src]Module natsclient::error

Error wrappers and boilerplate

This module provides some basic boilerplate for errors. As a consumer of this library, you should expect that all public functions return a Result type using this local Error, which implements the standard Error trait. As a general rule, errors that come from dependent crates are wrapped by this crate's error type.

Structs

Error

Provides an error type specific to the natsclient library

Enums

ErrorKind

Provides context as to how a particular natsclient error might have occurred