Exception: Salesforce::RecordInvalid
- Inherits:
-
StandardError
- Object
- StandardError
- Salesforce::RecordInvalid
- Defined in:
- lib/salesforce/errors.rb
Instance Method Summary collapse
-
#initialize(object_name, reason) ⇒ RecordInvalid
constructor
A new instance of RecordInvalid.
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 |