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
Merge pull request #783 from SAP/dependabot/npm_and_yarn/mikro-orm/sqlite-5.8.8
[e-mobility-charging-stations-simulator.git]
/
src
/
exception
/
OCPPError.ts
diff --git
a/src/exception/OCPPError.ts
b/src/exception/OCPPError.ts
index c5d25ddc23d402070437d511dce6a3ea11156bc3..f624d7e79704026eb60925f88ba3ddd0ae56de97 100644
(file)
--- a/
src/exception/OCPPError.ts
+++ b/
src/exception/OCPPError.ts
@@
-1,6
+1,6
@@
// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
-import { BaseError } from './
internal
';
+import { BaseError } from './
BaseError
';
import {
ErrorType,
type IncomingRequestCommand,
import {
ErrorType,
type IncomingRequestCommand,
@@
-18,12
+18,12
@@
export class OCPPError extends BaseError {
code: ErrorType,
message: string,
command?: RequestCommand | IncomingRequestCommand,
code: ErrorType,
message: string,
command?: RequestCommand | IncomingRequestCommand,
- details?: JsonType
+ details?: JsonType
,
) {
super(message);
this.code = code ?? ErrorType.GENERIC_ERROR;
this.command = command;
) {
super(message);
this.code = code ?? ErrorType.GENERIC_ERROR;
this.command = command;
- this.details = details ?? Constants.EMPTY_FR
EEZED
_OBJECT;
+ this.details = details ?? Constants.EMPTY_FR
OZEN
_OBJECT;
}
}
}
}