Exception: Mirah::Errors::InvalidParameter

Inherits:
Mirah::Error
  • Object
show all
Defined in:
lib/mirah/errors.rb

Overview

A parameter you supplied as an input was not valid for the query. An error class that shows the record was invalid

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param) ⇒ InvalidParameter

Returns a new instance of InvalidParameter.


20
21
22
# File 'lib/mirah/errors.rb', line 20

def initialize(param)
  @param = param
end

Instance Attribute Details

#paramObject (readonly)

Returns the value of attribute param


24
25
26
# File 'lib/mirah/errors.rb', line 24

def param
  @param
end