I’ve made the following changes in 0.2.0:
- now you define
message/1instead ofsplode_message/1 use Splode.ErrorClasscan be used now, which adds theerrorsfield and a defaultmessage/1implementation.
As for the other things discussed:
-
deriving error class from namespaces: I’d personally rather not do this. It takes something explicit and makes it implicit. I imagine users that want to do this can create a custom module to
useand make it work that way for them. -
adding a default
message/1for any given error. I’m open to this, I just didn’t get around to it. It wouldn’t be a breaking change, so PRs welcome on that front


















