Exception: Tenable::AuthenticationError

Inherits:
Error
  • Object
show all
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

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