Skip to content

Commit

Permalink
Better name for custom error. Better dodcstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ijpulidos committed Nov 7, 2024
1 parent 1f21347 commit acdfc35
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions feflow/utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ class ProtocolError(Exception):


class MethodLimitationtError(ProtocolError):
"""Custom exception to be raised when a fundamental limitation in the methodology is
that does not support."""
"""Custom exception raised when a fundamental limitation in the methodology prevents support
for the requested operation."""


class NotSupportedError(ProtocolError):
"""Custom exception to be raised when a specific scenario or case is not supported by the
protocol."""
class ProtocolSupportError(ProtocolError):
"""Custom exception raised when the tooling does not support a specific scenario or use case."""

0 comments on commit acdfc35

Please sign in to comment.