Exception: SisowIdeal::SisowException

Inherits:
Exception
  • Object
show all
Defined in:
lib/sisow_ideal/sisow_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errorcode, message) ⇒ SisowException

Returns a new instance of SisowException.



6
7
8
9
# File 'lib/sisow_ideal/sisow_exception.rb', line 6

def initialize(errorcode, message)
  self.errorcode = errorcode
  self.message   = message
end

Instance Attribute Details

#errorcodeObject

Returns the value of attribute errorcode.



3
4
5
# File 'lib/sisow_ideal/sisow_exception.rb', line 3

def errorcode
  @errorcode
end

#messageObject

Returns the value of attribute message.



4
5
6
# File 'lib/sisow_ideal/sisow_exception.rb', line 4

def message
  @message
end