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
build(deps-dev): bump tsx from 4.7.1 to 4.7.2
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Error.ts
diff --git
a/src/types/Error.ts
b/src/types/Error.ts
index c599438ce3554f6c4858d11e14508b0d48ff3199..34bad1ad4eabbf612fa2c27398def5fea4434f73 100644
(file)
--- a/
src/types/Error.ts
+++ b/
src/types/Error.ts
@@
-1,4
+1,7
@@
-export interface HandleErrorParams {
- throwError?: boolean;
- consoleOut?: boolean;
+import type { JsonType } from './JsonType.js'
+
+export interface HandleErrorParams<T extends JsonType> {
+ throwError?: boolean
+ consoleOut?: boolean
+ errorResponse?: T
}
}