Exception: Tenable::ParseError
- Defined in:
- lib/tenable/error.rb
Overview
Raised when the API response body cannot be parsed as JSON.
Instance Method Summary collapse
-
#initialize(msg = 'Failed to parse API response. The response may be malformed.') ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(msg = 'Failed to parse API response. The response may be malformed.') ⇒ ParseError
Returns a new instance of ParseError.
59 60 61 |
# File 'lib/tenable/error.rb', line 59 def initialize(msg = 'Failed to parse API response. The response may be malformed.') super end |