Exception: ChatgptAssistant::NoChatSelectedError

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

Overview

No Chat Selected Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:no_chat_selected]) ⇒ NoChatSelectedError

Returns a new instance of NoChatSelectedError.



96
97
98
# File 'lib/chatgpt_assistant/error.rb', line 96

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