Exception: K2Errors
- Inherits:
-
StandardError
- Object
- StandardError
- K2Errors
- Defined in:
- lib/k2-connect-ruby/k2_errors.rb
Overview
Standard K2Error
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(msg = @message) ⇒ K2Errors
constructor
A new instance of K2Errors.
Constructor Details
#initialize(msg = @message) ⇒ K2Errors
Returns a new instance of K2Errors.
4 5 6 |
# File 'lib/k2-connect-ruby/k2_errors.rb', line 4 def initialize(msg = @message) super(msg) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/k2-connect-ruby/k2_errors.rb', line 3 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
3 4 5 |
# File 'lib/k2-connect-ruby/k2_errors.rb', line 3 def status @status end |