Exception: Utility::EvictionError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, cursors: nil) ⇒ EvictionError

Returns a new instance of EvictionError.



41
42
43
44
# File 'lib/utility/errors.rb', line 41

def initialize(message = nil, cursors: nil)
  super(message)
  @cursors = cursors
end

Instance Attribute Details

#cursorsObject

Returns the value of attribute cursors.



39
40
41
# File 'lib/utility/errors.rb', line 39

def cursors
  @cursors
end