- status_number(+Status:atom, -Code:nonneg) is det[private]
- status_number(-Status:atom, +Code:nonneg) is det[private]
- Relates a symbolic HTTP status names to their integer Code.
Each code also needs a rule for status_comment//1.
- throws
- - type_error If Code is instantiated with something other than
an integer.
- - domain_error If Code is instantiated with an integer
outside of the range [100-599] of defined
HTTP status codes.