Exception: ChatgptAssistant::TextLengthTooLongError

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

Overview

Text Length Too Long Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:text_length_too_long]) ⇒ TextLengthTooLongError

Returns a new instance of TextLengthTooLongError.



195
196
197
# File 'lib/chatgpt_assistant/error.rb', line 195

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