Exception: ChatgptAssistant::InvalidCommandError

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

Overview

Invalid Command Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:invalid_command]) ⇒ InvalidCommandError

Returns a new instance of InvalidCommandError.



204
205
206
# File 'lib/chatgpt_assistant/error.rb', line 204

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