UNPKG

@versatiledatakit/shared

Version:

Versatile Data Kit Shared library enables reusability of shared features like: NgRx Redux, Error Handlers, Utils, Generic Components, etc.

20 lines (19 loc) 346 B
/** * ** Api error format. */ export interface ApiError { status: number; error: ApiErrorMessage | string; message: string; opId: string; path?: string; } /** * ** Api error message format. */ export interface ApiErrorMessage { what: string; why: string; consequences?: string; countermeasures?: string; }