@blackglory/http-status
Version:
A class-based HTTP status library
37 lines (36 loc) • 1.23 kB
TypeScript
import { HTTPError } from './http-error.js';
export declare class HTTPServerError extends HTTPError {
}
export declare class InternalServerError extends HTTPServerError {
constructor(message?: string);
}
export declare class NotImplemented extends HTTPServerError {
constructor(message?: string);
}
export declare class BadGateway extends HTTPServerError {
constructor(message?: string);
}
export declare class ServiceUnavailable extends HTTPServerError {
constructor(message?: string);
}
export declare class GatewayTimeout extends HTTPServerError {
constructor(message?: string);
}
export declare class HTTPVersionNotSupported extends HTTPServerError {
constructor(message?: string);
}
export declare class VariantAlsoNegotiates extends HTTPServerError {
constructor(message?: string);
}
export declare class InsufficientStorage extends HTTPServerError {
constructor(message?: string);
}
export declare class LoopDetected extends HTTPServerError {
constructor(message?: string);
}
export declare class NotExtended extends HTTPServerError {
constructor(message?: string);
}
export declare class NetworkAuthenticationRequired extends HTTPServerError {
constructor(message?: string);
}