Current section
Files
Jump to
Current section
Files
harnais_error
CHANGELOG.md
CHANGELOG.md
# CHANGELOG
## v0.2.0
### Bug Fixes
Fixed API Reference link in the README.
### Changed Functions
The export functions for both `Harnais.Error` and
`Harnais.Error.Status` now take an *opts* as the optional second
argument. The *opts*, if any, are used to update (`update/2`) the exception before
performing the export.
The keys in the `:export_config` used by `Harnais.Error`'s default export function
are now normalised so that aliases can be used e.g. `:m` for
`:message`, and also validated: unknown keys cause an error.
### New Functions
`Harnais.Error.export_exception/2` takes an `Exception` and optional
*opts* and creates an export, returning `{:ok, export}` or `{:error, error}`.
## v0.1.0
The Exception for the Harnais Package Family.