Skip to content
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

Closed
wants to merge 12 commits into from
4 changes: 2 additions & 2 deletions ocpp/charge_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from dataclasses import asdict
from typing import Dict, List, Union

from ocpp.exceptions import NotSupportedError, OCPPError
from ocpp.exceptions import NotImplemtendError, NotSupportedError, OCPPError
from ocpp.messages import Call, MessageType, unpack, validate_payload
from ocpp.routing import create_route_map

Expand Down Expand Up @@ -173,7 +173,7 @@ async def _handle_call(self, msg):
try:
handlers = self.route_map[msg.action]
except KeyError:
raise NotSupportedError(
raise NotImplemtendError(
details={"cause": f"No handler for {msg.action} registered."}
)

Expand Down