Exception: Vop::Errors::LoadError

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

Direct Known Subclasses

EntityLoadError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, detail = nil) ⇒ LoadError

Returns a new instance of LoadError.



35
36
37
38
39
# File 'lib/vop/util/errors.rb', line 35

def initialize(message = nil, detail = nil)
  @message = message
  @detail = detail
  super(detail)
end

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail.



33
34
35
# File 'lib/vop/util/errors.rb', line 33

def detail
  @detail
end

#messageObject (readonly)

Returns the value of attribute message.



33
34
35
# File 'lib/vop/util/errors.rb', line 33

def message
  @message
end