Exception: Salesforce::RecordInvalid

Inherits:
StandardError
  • Object
show all
Defined in:
lib/salesforce/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(object_name, reason) ⇒ RecordInvalid

Returns a new instance of RecordInvalid.



18
19
20
# File 'lib/salesforce/errors.rb', line 18

def initialize(object_name, reason)
  super("#{object_name} failed to be saved. #{reason}")
end