Exception: Pfapi::PageformantException
- Inherits:
-
Exception
- Object
- Exception
- Pfapi::PageformantException
- Defined in:
- lib/pfapi.rb
Instance Method Summary collapse
- #errorCode ⇒ Object
-
#initialize(errStr, errCode = 0) ⇒ PageformantException
constructor
A new instance of PageformantException.
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
#errorCode ⇒ Object
13 14 15 |
# File 'lib/pfapi.rb', line 13 def errorCode @errorCode end |