Skip to content

Releases: FlixCoder/neuer-error

v0.3.0

31 Jan 22:32
71117ef

Choose a tag to compare

  • breaking: Added a marker generic to NeuErr to allow enforcing compile-time errors when no .context is given.
  • breaking: Renamed CtxResultExt trait to NeuErrResultExt.

The NeuErr type without marker and the default Result will work as previously, not requiring added context. However, there is a new option to use a specific marker to require additional context before returning from the current function. This is simplified by a special macro require_context!. Please see the docs for more details.

Due to the marker changes, the .context methods will now return an error with the marker applied, so there might be conversions required in cases where the result was directly returned instead of using the question mark operator.

v0.2.1

24 Jan 19:28
aa5cfba

Choose a tag to compare

Documentation improvements only.

v0.2.0

15 Jan 17:44
56b540f

Choose a tag to compare

  • breaking: Renamed CtxError/CtxErrorImpl to NeuErr/NeuErrImpl.
  • Implemented colored error formatting (with feature colors).

v0.1.0

11 Jan 21:54
2d94ed9

Choose a tag to compare

Initial release