UNPKG

@breautek/storm

Version:

Object-Oriented REST API framework

17 lines (16 loc) 536 B
import { StormError } from './StormError'; import { ErrorCode } from './ErrorCode'; import { StatusCode } from './StatusCode'; import { HTTPMethod } from './HTTPMethod'; interface INotImplementedErrorOptions { method: string; } export declare class NotImplementedError extends StormError<INotImplementedErrorOptions> { constructor(method: HTTPMethod); getMessage(): string; getCode(): ErrorCode; getHTTPCode(): StatusCode; getLocaleCode(): string; getLocaleParameters(): Record<string, string>; } export {};