Exception: Agms::AgmsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/agms/error/agms_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, object = nil) ⇒ AgmsError

Returns a new instance of AgmsError.



5
6
7
8
# File 'lib/agms/error/agms_error.rb', line 5

def initialize(message = nil, object = nil)
  super(message)
  self.object = object
end

Instance Attribute Details

#objectObject

Returns the value of attribute object.



3
4
5
# File 'lib/agms/error/agms_error.rb', line 3

def object
  @object
end