Compare commits

..

1 Commits

Author SHA1 Message Date
Tim Van Baak 293acb04c0 Make backend argument type errors more specific 2021-08-13 16:56:14 -07:00
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ class AmanuensisError(Exception):
class ArgumentError(AmanuensisError):
"""An internal call was made with invalid arguments."""
"""An internal call was made with invalid arguments"""
class BackendArgumentTypeError(ArgumentError):
class BackendArgumentTypeError(AmanuensisError):
"""
A call to a backend function was made with a value of an invalid type for the parameter.
Specify the invalid parameter and value as a kwarg.