Exception: ChatgptAssistant::BotNotInVoiceChannelError

Inherits:
StandardError
  • Object
show all
Includes:
LoadError
Defined in:
lib/chatgpt_assistant/error.rb

Overview

Bot Not In Voice Channel Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:bot_not_in_voice_channel]) ⇒ BotNotInVoiceChannelError

Returns a new instance of BotNotInVoiceChannelError.



177
178
179
# File 'lib/chatgpt_assistant/error.rb', line 177

def initialize(message = load_error_context[:bot_not_in_voice_channel])
  super(message)
end