X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fexception%2FOCPPError.ts;h=e67f3c95f56c38b81a22e1c70a1be191199e610c;hb=90befdb882c3c0d68878dad7985612c01ed19d8d;hp=bfe64fb43a657049e27ce451787de42933b310f6;hpb=e3822d6f1b40477f7308ad70c290ed2c4106c585;p=e-mobility-charging-stations-simulator.git diff --git a/src/exception/OCPPError.ts b/src/exception/OCPPError.ts index bfe64fb4..e67f3c95 100644 --- 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 { JsonObject } from '../types/JsonType'; +import { JsonType } from '../types/JsonType'; export default class OCPPError extends BaseError { code: ErrorType; command?: RequestCommand | IncomingRequestCommand; - details?: JsonObject; + details?: JsonType; constructor( code: ErrorType, message: string, command?: RequestCommand | IncomingRequestCommand, - details?: JsonObject + details?: JsonType ) { super(message);