@breautek/storm
Version:
Object-Oriented REST API framework
16 lines (15 loc) • 421 B
TypeScript
import { StatusCode } from './StatusCode';
import { StormError } from './StormError';
/**
* @since 9.1.0
*
* An error that describes an illegal state
*/
export declare class IllegalStateError extends StormError<string> {
constructor(message: string);
getMessage(): string;
getHTTPCode(): StatusCode;
getCode(): number;
getLocaleCode(): string;
getLocaleParameters(): Record<string, string>;
}