class Seahorse::Client::Plugins::RaiseResponseErrors

@seahorse.client.option [Boolean] :raise_response_errors (true)

When `true`, response errors are raised.

Public Instance Methods

add_handlers(handlers, config) click to toggle source
# File lib/seahorse/client/plugins/raise_response_errors.rb, line 20
def add_handlers(handlers, config)
  if config.raise_response_errors
    handlers.add(Handler, step: :validate, priority: 95)
  end
end