Exception: Varanus::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Varanus::Error
- Defined in:
- lib/varanus/error.rb
Overview
Error returned from the Sectigo API
Direct Known Subclasses
Defined Under Namespace
Classes: StillProcessing
Instance Attribute Summary collapse
-
#code ⇒ Integer
readonly
Code associated with error.
Instance Method Summary collapse
-
#initialize(code, msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code, msg) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/varanus/error.rb', line 8 def initialize code, msg @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Integer (readonly)
Returns Code associated with error.
6 7 8 |
# File 'lib/varanus/error.rb', line 6 def code @code end |