UNPKG

@companydev/shared-kernel

Version:

Shared kernel for DDD hexagonal architecture

17 lines (16 loc) 581 B
import { ApplicationExceptionBase } from './application-exception.base.js'; interface EntityNotFoundParams { entityName: string; identifier: string; identifierValue: string | number; } export declare class EntityNotFoundException extends ApplicationExceptionBase { readonly entityName: string; readonly identifier: string; readonly identifierValue: string | number; constructor(params: EntityNotFoundParams); getErrorCode(): string; getHttpStatus(): number; static create(params: EntityNotFoundParams): EntityNotFoundException; } export {};