Error raised when an argument has an invalid type.
Creates an InvalidType error for the given argument name.
@spec exception(String.t() | atom()) :: %PhoenixGenApi.Errors.InvalidType{ __exception__: true, message: term() }