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
Fix Json type definition naming
[e-mobility-charging-stations-simulator.git]
/
src
/
exception
/
OCPPError.ts
diff --git
a/src/exception/OCPPError.ts
b/src/exception/OCPPError.ts
index e67f3c95f56c38b81a22e1c70a1be191199e610c..bfe64fb43a657049e27ce451787de42933b310f6 100644
(file)
--- a/
src/exception/OCPPError.ts
+++ b/
src/exception/OCPPError.ts
@@
-4,18
+4,18
@@
import { IncomingRequestCommand, RequestCommand } from '../types/ocpp/Requests';
import BaseError from './BaseError';
import { ErrorType } from '../types/ocpp/ErrorType';
import BaseError from './BaseError';
import { ErrorType } from '../types/ocpp/ErrorType';
-import { Json
Type
} from '../types/JsonType';
+import { Json
Object
} from '../types/JsonType';
export default class OCPPError extends BaseError {
code: ErrorType;
command?: RequestCommand | IncomingRequestCommand;
export default class OCPPError extends BaseError {
code: ErrorType;
command?: RequestCommand | IncomingRequestCommand;
- details?: Json
Type
;
+ details?: Json
Object
;
constructor(
code: ErrorType,
message: string,
command?: RequestCommand | IncomingRequestCommand,
constructor(
code: ErrorType,
message: string,
command?: RequestCommand | IncomingRequestCommand,
- details?: Json
Type
+ details?: Json
Object
) {
super(message);
) {
super(message);