UNPKG

@arpinum/ddd

Version:
13 lines (8 loc) 220 B
'use strict'; const ClientError = require('./clientError'); class UnauthorizedError extends ClientError { constructor(message) { super(message || 'Unauthorized', 401); } } module.exports = UnauthorizedError;