Exception: Supabase::Auth::Errors::UserDoesntExist

Inherits:
StandardError
  • Object
show all
Defined in:
lib/supabase/auth/errors.rb

Overview

Raised when an access token references a user that no longer exists.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_token) ⇒ UserDoesntExist

Returns a new instance of UserDoesntExist.



119
120
121
122
# File 'lib/supabase/auth/errors.rb', line 119

def initialize(access_token)
  super("User from access_token does not exist")
  @access_token = access_token
end

Instance Attribute Details

#access_tokenObject (readonly)

Returns the value of attribute access_token.



117
118
119
# File 'lib/supabase/auth/errors.rb', line 117

def access_token
  @access_token
end