Skip to content

Tags: serum-errors/go-serum

Tags

v0.8.0

Toggle v0.8.0's commit message
Readme update, to contain many more examples.

v0.7.0

Toggle v0.7.0's commit message
Change the behavior of serum.Message to fallback to Error string on n…

…on-serum types.

This seems to produce slightly less surprising behavior in the wild;
and it means less information is discarded, which in any scenario that
might contain a flicker of doubt, is generally the right way to go.

This also means that when Standardize functions are used (or, the
Errorf helper constructor, which uses Standardize in turn) on non-serum
error values, they keep their messages better.  Big improvement.

v0.6.0

Toggle v0.6.0's commit message
Add ToJSONString helper.

It's very trivial, but it's also very very very useful to get
the returns down to a single value, for printf composition purposes.

v0.4.1

Toggle v0.4.1's commit message
Code should return emptystring calmly for nil errors.

This improves ease of use.

v0.4.0

Toggle v0.4.0's commit message
introduce Error constructor, with optional style varargs construction…

…, and an ability to access the template system.