Exception: ActiveSalesforce::ASFError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ActiveSalesforce::ASFError
- Defined in:
- lib/active_record/connection_adapters/recording_binding.rb
Overview
This is the main error class used by ActiveSalesforce Adapter.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#fault ⇒ Object
readonly
Returns the value of attribute fault.
Instance Method Summary collapse
-
#initialize(logger, message, fault = nil) ⇒ ASFError
constructor
A new instance of ASFError.
Constructor Details
#initialize(logger, message, fault = nil) ⇒ ASFError
Returns a new instance of ASFError.
26 27 28 29 30 31 32 |
# File 'lib/active_record/connection_adapters/recording_binding.rb', line 26 def initialize(logger, , fault = nil) super @fault = fault logger.debug("\nASFError:\n message='#{}'\n fault='#{fault}'\n\n") end |
Instance Attribute Details
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
24 25 26 |
# File 'lib/active_record/connection_adapters/recording_binding.rb', line 24 def fault @fault end |