Blunder v1.1.1 Blunder.Errors View Source
Provides a macro for creating your own %Blunder{} generating helper functions
Link to this section Summary
Functions
Generates a funtion that returns a blunder error with the given code and attributes
The code will be the same as the name of the function undless overriden in the opts
Link to this section Functions
Link to this macro
deferror(code, opts \\ [])
View Source
(macro)
deferror(atom(), Blunder.opts()) :: no_return()
Generates a funtion that returns a blunder error with the given code and attributes
The code will be the same as the name of the function undless overriden in the opts