Skip to content

Commit

Permalink
Improve exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Apr 3, 2023
1 parent ff7bb7a commit 0d83542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colour/continuous/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,9 @@ def _undefined_function(
"""

raise ValueError(
"Underlying signal interpolator function does not exists, "
"please ensure you defined both "
'"domain" and "range" variables!'
"Underlying signal interpolator function does not "
'exists, please ensure that both "domain" and "range" '
"variables are defined!"
)

self._function = cast(Callable, _undefined_function)
Expand Down

0 comments on commit 0d83542

Please sign in to comment.