Exception: Serf::Errors::LoadFailure
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Serf::Errors::LoadFailure
- Defined in:
- lib/serf/errors/load_failure.rb
Overview
An error occurred while loading serfs.
Instance Attribute Summary collapse
-
#cause ⇒ Object
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message = nil, cause = nil) ⇒ LoadFailure
constructor
A new instance of LoadFailure.
Constructor Details
#initialize(message = nil, cause = nil) ⇒ LoadFailure
Returns a new instance of LoadFailure.
10 11 12 13 |
# File 'lib/serf/errors/load_failure.rb', line 10 def initialize(=nil, cause=nil) @cause = cause super() end |
Instance Attribute Details
#cause ⇒ Object
Returns the value of attribute cause.
8 9 10 |
# File 'lib/serf/errors/load_failure.rb', line 8 def cause @cause end |