Exception: Pfapi::PageformantException

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

Instance Method Summary collapse

Constructor Details

#initialize(errStr, errCode = 0) ⇒ PageformantException

Returns a new instance of PageformantException.



8
9
10
11
# File 'lib/pfapi.rb', line 8

def initialize(errStr, errCode = 0)
  super errStr
  @errorCode = Integer(errCode)
end

Instance Method Details

#errorCodeObject



13
14
15
# File 'lib/pfapi.rb', line 13

def errorCode
  @errorCode
end