repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Combined PR (#197)
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Error.ts
diff --git
a/src/types/Error.ts
b/src/types/Error.ts
index c599438ce3554f6c4858d11e14508b0d48ff3199..76e3005f243236c7fcb65b6e6c204fee76418560 100644
(file)
--- a/
src/types/Error.ts
+++ b/
src/types/Error.ts
@@
-1,4
+1,5
@@
-export
interface HandleErrorParams
{
+export
type HandleErrorParams<T> =
{
throwError?: boolean;
consoleOut?: boolean;
-}
+ errorResponse?: T;
+};