class Gengo::Exception

Base Exception class and such.

Attributes

code[RW]
msg[RW]
opstat[RW]

Public Class Methods

new(opstat, code, msg) click to toggle source

Pretty self explanatory stuff here…

Calls superclass method
# File lib/gengo-ruby/gengo_exception.rb, line 7
def initialize(opstat, code, msg)
  @opstat = opstat
  @code = code
  @msg = msg
  super(msg)
end

Public Instance Methods

inspect() click to toggle source
# File lib/gengo-ruby/gengo_exception.rb, line 14
def inspect
  "Gengo::Exception(opstat=%s, code=%d, msg=%s)" % [opstat, code, msg]
end