refactor
This commit is contained in:
@@ -12,7 +12,7 @@ export type CommonApplicationErrorKind =
|
||||
/**
|
||||
* @deprecated Use ApplicationErrorCode in Result instead of throwing ApplicationError.
|
||||
*/
|
||||
export interface IApplicationError<K extends string = CommonApplicationErrorKind, D = unknown> extends Error {
|
||||
export interface ApplicationError<K extends string = CommonApplicationErrorKind, D = unknown> extends Error {
|
||||
readonly type: 'application';
|
||||
readonly context: string;
|
||||
readonly kind: K;
|
||||
|
||||
Reference in New Issue
Block a user