Exception: K2Errors

Inherits:
StandardError
  • Object
show all
Defined in:
lib/k2-connect-ruby/k2_errors.rb

Overview

Standard K2Error

Direct Known Subclasses

K2ConnectionError, K2ValidateErrors

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#messageObject (readonly)

Returns the value of attribute message.



3
4
5
# File 'lib/k2-connect-ruby/k2_errors.rb', line 3

def message
  @message
end

#statusObject (readonly)

Returns the value of attribute status.



3
4
5
# File 'lib/k2-connect-ruby/k2_errors.rb', line 3

def status
  @status
end