x249/node-api

View on GitHub
lib/utils/httpErrors/HTTP400Error.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { HTTPClientError } from './httpClientError';

export class HTTP400Error extends HTTPClientError {
    public readonly statusCode: number = 400;

    constructor(message: string | object = 'Bad request') {
        super(message);
    }
}