rename to core

This commit is contained in:
2025-12-15 13:46:07 +01:00
parent aedf58643d
commit 5c22f8820c
559 changed files with 415 additions and 767 deletions

View File

@@ -0,0 +1,14 @@
export type CommonApplicationErrorKind =
| 'not_found'
| 'forbidden'
| 'conflict'
| 'validation'
| 'unknown'
| string;
export interface IApplicationError<K extends string = CommonApplicationErrorKind, D = unknown> extends Error {
readonly type: 'application';
readonly context: string;
readonly kind: K;
readonly details?: D;
}