Exception: Serf::Errors::LoadFailure

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/serf/errors/load_failure.rb

Overview

An error occurred while loading serfs.

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message=nil, cause=nil)
  @cause = cause
  super(message)
end

Instance Attribute Details

#causeObject

Returns the value of attribute cause.



8
9
10
# File 'lib/serf/errors/load_failure.rb', line 8

def cause
  @cause
end