Exception: Tenable::AuthenticationError
- Defined in:
- lib/tenable/error.rb
Overview
Raised when API authentication fails (HTTP 401).
Constant Summary collapse
- DEFAULT_MESSAGE =
'Authentication failed. Verify your access key and secret key are correct.'
Instance Method Summary collapse
-
#initialize(msg = DEFAULT_MESSAGE) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(msg = DEFAULT_MESSAGE) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
11 12 13 |
# File 'lib/tenable/error.rb', line 11 def initialize(msg = DEFAULT_MESSAGE) super end |