Exception: Oass::OASError
- Inherits:
-
StandardError
- Object
- StandardError
- Oass::OASError
- Defined in:
- lib/oass/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, options = {}) ⇒ OASError
constructor
A new instance of OASError.
Constructor Details
#initialize(message, options = {}) ⇒ OASError
Returns a new instance of OASError.
5 6 7 8 |
# File 'lib/oass/errors.rb', line 5 def initialize(, = {}) super @code = [:code] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
3 4 5 |
# File 'lib/oass/errors.rb', line 3 def code @code end |