README
@rakered/errors
Convenient custom errors matching http status code
Usage
import { AuthenticationError } from '@rakered/errors';
throw new AuthenticationError('you need to be logged in');
// ยป { code: 401, message: 'you need to be logged in' }