Exception: SASL::UnknownMechanism
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SASL::UnknownMechanism
- Defined in:
- lib/sasl/base.rb
Overview
Will be raised by SASL.new_mechanism if mechanism passed to the constructor is not known.
Instance Method Summary collapse
-
#initialize(mechanism) ⇒ UnknownMechanism
constructor
A new instance of UnknownMechanism.
- #to_s ⇒ Object
Constructor Details
#initialize(mechanism) ⇒ UnknownMechanism
Returns a new instance of UnknownMechanism.
54 55 56 |
# File 'lib/sasl/base.rb', line 54 def initialize(mechanism) @mechanism = mechanism end |
Instance Method Details
#to_s ⇒ Object
58 59 60 |
# File 'lib/sasl/base.rb', line 58 def to_s "Unknown mechanism: #{@mechanism.inspect}" end |