-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minor fixes #426
minor fixes #426
Conversation
@OrangeTux a couple of small fixes for review |
Table 7 of the Open Charge Point Protocol JSON 1.6, OCPP-J 1.6 Specification lists all error codes with a short description.
Trying to send a request with action "InvalidAction" triggers this code path. In this case, a However, the code path is also executed when the receiver receives a request for an action the receiver doesn't implement. For example, if a charger receives a "GetDiagnostics" request without supporting this feature. Now A while ago, we changed the error type from "NotImplementedError I'm hesitant to revert that change by approving this PR. Instead, some code should be include to distinguish between 2 scenarios I described and raise the appropriate error. |
Cheers, I wasn't aware of the history. I have reverted and amended the comment to align with the choice of using the NotSupportedError. |
@drc38 - I see that the change in the comment field is valid, could you please recreate this PR, having it branched off master?thanks |
@Jared-Newell-Mobility new PR from the master branch, for background see #426
@Jared-Newell-Mobility new PR from the master branch, for background see mobilityhouse#426
According to the notes I assume this is incorrect and should be NotImplemented?