diff --git a/src/models.ts b/src/models.ts index 50774b0..a397e4a 100644 --- a/src/models.ts +++ b/src/models.ts @@ -20,8 +20,15 @@ interface IValidationError { message: string; } +export interface ITechnicalDetails { + requestId?: string; +} + export interface IError { - message: string; + message: string; + detailedMessage?: string; + errorCode?: string; + technicalDetails?: ITechnicalDetails; } function normalizeError(error: IValidationError): IError {