UNPKG

@dannybster/coco-the-bear-http-errors

Version:

A collection of error objects that represent http response objects for CoCo The Bear.

7 lines (4 loc) 186 B
const error = require('./http-error-module'); const name = 'HTTP401Unauthorized'; const statusCode = 401; module.exports = error.createModule(name, statusCode, 'isUnauthorizedError');