Split UnexpectedTypeException for logic and runtime errors
Invalid arguments and options constitute a logic error, so InvalidArgumentTypeException may be used. For runtime errors (e.g. server returned something we didn't expect), UnexpectedValueTypeException may be used.
Showing
Please
register
or
sign in
to comment