X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FError.ts;h=6a7c04e21fa38f7ee573deaad7b16dc623cb36df;hb=041365be4e6cfcec381c895a203815dd933afff5;hp=c599438ce3554f6c4858d11e14508b0d48ff3199;hpb=e0a50bcd7ae5a1b4ce22e39935f96a8f7e1222b4;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Error.ts b/src/types/Error.ts index c599438c..6a7c04e2 100644 --- a/src/types/Error.ts +++ b/src/types/Error.ts @@ -1,4 +1,7 @@ -export interface HandleErrorParams { +import type { JsonType } from './JsonType'; + +export interface HandleErrorParams { throwError?: boolean; consoleOut?: boolean; + errorResponse?: T; }