@breautek/storm
Version:
Object-Oriented REST API framework
12 lines (11 loc) • 420 B
TypeScript
import { StormError } from './StormError';
import { ErrorCode } from './ErrorCode';
import { StatusCode } from './StatusCode';
export declare class DuplicateEntryError extends StormError {
constructor(entity: string, name: string, property?: string);
getMessage(): string;
getCode(): ErrorCode;
getHTTPCode(): StatusCode;
getLocaleCode(): string;
getLocaleParameters(): Record<string, string>;
}