Exception: ChatgptAssistant::MessageHistoryTooLongError

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

Overview

Message Not Found Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:message_history_too_long]) ⇒ MessageHistoryTooLongError

Returns a new instance of MessageHistoryTooLongError.



186
187
188
# File 'lib/chatgpt_assistant/error.rb', line 186

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