Skip to content

Commit

Permalink
fix exception messages
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Christian Hackenbeck <[email protected]>
  • Loading branch information
andlaus committed Mar 6, 2024
1 parent a5ebc2d commit b7d5157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions odxtools/parameters/tableentryparameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ def parameter_type(self) -> ParameterType:

@property
def is_required(self) -> bool:
raise NotImplementedError("TableKeyParameter.is_required is not implemented yet.")
raise NotImplementedError("TableEntryParameter.is_required is not implemented yet.")

@property
def is_settable(self) -> bool:
raise NotImplementedError("TableKeyParameter.is_settable is not implemented yet.")
raise NotImplementedError("TableEntryParameter.is_settable is not implemented yet.")

def get_coded_value_as_bytes(self, encode_state: EncodeState) -> bytes:
raise NotImplementedError("Encoding a TableKeyParameter is not implemented yet.")
raise NotImplementedError("Encoding a TableEntryParameter is not implemented yet.")

@override
def _decode_positioned_from_pdu(self, decode_state: DecodeState) -> ParameterValue:
raise NotImplementedError("Decoding a TableKeyParameter is not implemented yet.")
raise NotImplementedError("Decoding a TableEntryParameter is not implemented yet.")

0 comments on commit b7d5157

Please sign in to comment.