Exception: BlestError
- Inherits:
-
StandardError
- Object
- StandardError
- BlestError
- Defined in:
- lib/blest.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#data ⇒ Object
Returns the value of attribute data.
-
#stack ⇒ Object
Returns the value of attribute stack.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ BlestError
constructor
A new instance of BlestError.
Constructor Details
#initialize(message = nil) ⇒ BlestError
Returns a new instance of BlestError.
449 450 451 452 453 454 455 |
# File 'lib/blest.rb', line 449 def initialize( = nil) @status = 500 @code = nil @data = nil @stack = nil super() end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
445 446 447 |
# File 'lib/blest.rb', line 445 def code @code end |
#data ⇒ Object
Returns the value of attribute data.
446 447 448 |
# File 'lib/blest.rb', line 446 def data @data end |
#stack ⇒ Object
Returns the value of attribute stack.
447 448 449 |
# File 'lib/blest.rb', line 447 def stack @stack end |
#status ⇒ Object
Returns the value of attribute status.
444 445 446 |
# File 'lib/blest.rb', line 444 def status @status end |