Exception: Msf::NoKeyError

Inherits:
EncodingError show all
Defined in:
lib/msf/core/exception.rb

Overview

Thrown when an encoder fails to find a viable encoding key.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "A valid encoding key could not be found.") ⇒ NoKeyError

Returns a new instance of NoKeyError.



95
96
97
# File 'lib/msf/core/exception.rb', line 95

def initialize(msg="A valid encoding key could not be found.")
  super(msg)
end