Skip to content

Custom Error Raising

Compare
Choose a tag to compare
@nelsonic nelsonic released this 22 Aug 10:29

Adds ability to raise (custom) errors - for people who need extra control over the errors returned by thier API. defaults to standard Boom errors if an errorFunc is not defined. 100% backward compatible. (no change required) implemented by @jync in #183