You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say you have ow(input, ow.string.startWith('f')) and input is bar. That is not technically a TypeError. Also good to have a unique error for argument validation errors. Then users can separately detect it from unrelated type errors.
Is there a reason for using a custom error named
ArgumentError
instead of the build-inTypeError
?The text was updated successfully, but these errors were encountered: