Exception: Cakewalk::Exceptions::UnsupportedMode

Inherits:
Generic
  • Object
show all
Defined in:
lib/cakewalk/exceptions.rb

Overview

Raised when Cakewalk discovers a user or channel mode, which it doesn’t support yet.

Instance Method Summary collapse

Constructor Details

#initialize(mode) ⇒ UnsupportedMode

Returns a new instance of UnsupportedMode.



32
33
34
# File 'lib/cakewalk/exceptions.rb', line 32

def initialize(mode)
  super "Cakewalk does not support the mode '#{mode}' yet."
end