Exception: ProcessOut::NotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- ProcessOut::NotFoundError
- Defined in:
- lib/processout/errors/notfound_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, msg) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(code, msg) ⇒ NotFoundError
Returns a new instance of NotFoundError.
4 5 6 7 |
# File 'lib/processout/errors/notfound_error.rb', line 4 def initialize(code, msg) self.code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/processout/errors/notfound_error.rb', line 3 def code @code end |