Exception: NessusClient::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nessus_client/exception.rb

Overview

Abstract Error class for NessusClient.

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ Error

Raise a custom error namespace.

Examples:

NessusClient::Error.new('This is a custom error.')

Parameters:

  • msg (String)

    The exception message.



10
11
12
# File 'lib/nessus_client/exception.rb', line 10

def initialize(msg)
  super
end