Exception: Tenable::ParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/tenable/error.rb

Overview

Raised when the API response body cannot be parsed as JSON.

Instance Method Summary collapse

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