UNPKG

@munit-solutions/ocpp

Version:
14 lines 477 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CallError extends Error { constructor(messageType, id, errorCode, errorDescription) { super(JSON.stringify(errorDescription)); this.messageType = messageType; this.id = id; this.errorCode = errorCode; this.errorDescription = errorDescription; this.name = "CallError"; } } exports.default = CallError; //# sourceMappingURL=CallError.js.map