Skip to content

Commit

Permalink
MethodNonPayableError exception type changed from ApeException to Con…
Browse files Browse the repository at this point in the history
…tractError
  • Loading branch information
Aviksaikat committed Aug 13, 2023
1 parent 23f66ec commit 7fc28a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __init__(self, message: Optional[str] = None):
super().__init__(message)


class MethodNonPayableError(ApeException):
class MethodNonPayableError(ContractError):
"""
Raises when sending funds to a non-payable constructor
"""
Expand Down

0 comments on commit 7fc28a2

Please sign in to comment.