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
Update submodule
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
OcppError.ts
diff --git
a/src/charging-station/OcppError.ts
b/src/charging-station/OcppError.ts
index 3de71eb539125bc22de51da613948a7ea6b8e444..d11ad56f0b632d0ef826d8d8e9adad464057e5e8 100644
(file)
--- a/
src/charging-station/OcppError.ts
+++ b/
src/charging-station/OcppError.ts
@@
-4,7
+4,7
@@
export default class OCPPError extends Error {
code: string;
details: any;
- constructor(code: string, message:
string , details?
) {
+ constructor(code: string, message:
string, details?: any
) {
super(message);
this.code = code || Constants.OCPP_ERROR_GENERIC_ERROR;