Exception: ChatgptAssistant::UserNotInVoiceChannelError

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

Overview

User Not In Voice Channel Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:user_not_in_voice_channel]) ⇒ UserNotInVoiceChannelError

Returns a new instance of UserNotInVoiceChannelError.



168
169
170
# File 'lib/chatgpt_assistant/error.rb', line 168

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