Exception: ChatgptAssistant::UserNotRegisteredError

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

Overview

User Not Registered Error

Instance Method Summary collapse

Methods included from LoadError

#load_error_context

Constructor Details

#initialize(message = load_error_context[:user_not_registered]) ⇒ UserNotRegisteredError

Returns a new instance of UserNotRegisteredError.



141
142
143
# File 'lib/chatgpt_assistant/error.rb', line 141

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