Method: SalesforceAdapter::Connection::Errors::SOAPError#server_unavailable?

Defined in:
lib/dm-salesforce-adapter/connection/errors.rb

#server_unavailable?Boolean

Returns:

  • (Boolean)


39
40
41
42
43
# File 'lib/dm-salesforce-adapter/connection/errors.rb', line 39

def server_unavailable?
  failed_records.any? do |record|
    record.errors.any? {|e| e.statusCode == "SERVER_UNAVAILABLE"}
  end
end