Exception: Redisant::Error

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

Direct Known Subclasses

InvalidArgument, ValidationFailed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Error

Returns a new instance of Error.



4
5
6
# File 'lib/redisant/errors.rb', line 4

def initialize message
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



3
4
5
# File 'lib/redisant/errors.rb', line 3

def message
  @message
end