diff --git a/lib/nylas/errors.rb b/lib/nylas/errors.rb index c5ce87c9..280ab083 100644 --- a/lib/nylas/errors.rb +++ b/lib/nylas/errors.rb @@ -21,7 +21,7 @@ class NylasApiError < AbstractNylasApiError # @param type [Hash] Error type. # @param message [String] Error message. # @param status_code [Integer] Error status code. - # @param provider_error [String, nil] Provider error. + # @param provider_error [Hash, nil] The error from the provider. # @param request_id [Hash, nil] The ID of the request. def initialize(type, message, status_code, provider_error = nil, request_id = nil) super(message)