for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import makeAppError from './app-error.js';
const AppError = makeAppError(TypeError);
class AuthenticationError extends AppError {
get name() {
return 'AuthenticationError';
}
get errorStatus() {
return 401;
export default AuthenticationError;