Exception: Supabase::Auth::Errors::AuthInvalidCredentialsError

Inherits:
CustomAuthError show all
Defined in:
lib/supabase/auth/errors.rb

Overview

Raised when credentials are missing or invalid.

Instance Attribute Summary

Attributes inherited from CustomAuthError

#name

Attributes inherited from AuthError

#code, #status

Instance Method Summary collapse

Methods inherited from CustomAuthError

#to_h

Methods inherited from AuthError

#to_h

Constructor Details

#initialize(message) ⇒ AuthInvalidCredentialsError

Returns a new instance of AuthInvalidCredentialsError.



61
62
63
# File 'lib/supabase/auth/errors.rb', line 61

def initialize(message)
  super(message, name: "AuthInvalidCredentialsError", status: 400)
end