Defines a new HTTP_MSG
The HTTP Status-Code ([1-5][0-9][0-9]).
A sprintf
-style template that serves as the message given to the end-user when this
Status is triggered. The template can be as simple or complicated as you want, then you can hydrate
it with the appropriate values as needed.
If true
, instructs the Routes
namespace to include the API document in
the payload when the HTTP-Status is an Error-Code.
The HTTP Status-Code ([1-5][0-9][0-9]).
The template that serves as the message given to the end-user when this Status is triggered.
If true
, instructs the Routes
namespace to include the API document in the payload
when the HTTP-Status is an Error-Code.
A plain-object version of this HTTP-MSG
An class used to define default response-payload HTTP Status-Codes.