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