refactor: consolidate default values handling
[e-mobility-charging-stations-simulator.git] / src / exception / OCPPError.ts
index 41414fe9a8a04240bccf06f7a51a1417f29c3f19..27876dadfef495d674f6cae7422fa793129a09b5 100644 (file)
@@ -18,7 +18,7 @@ export class OCPPError extends BaseError {
     super(message)
 
     this.code = code
-    this.command = command ?? Constants.UNKNOWN_COMMAND
+    this.command = command ?? Constants.UNKNOWN_OCPP_COMMAND
     this.details = details
   }
 }