Exception: Calvery::ServerError
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(msg, status) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(msg, status) ⇒ ServerError
Returns a new instance of ServerError.
32 33 34 35 |
# File 'lib/calvery.rb', line 32 def initialize(msg, status) super(msg) @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
31 32 33 |
# File 'lib/calvery.rb', line 31 def status @status end |