Exception: Supabase::Auth::Errors::AuthInvalidJwtError

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

Overview

Raised when a JWT is invalid or malformed.

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) ⇒ AuthInvalidJwtError

Returns a new instance of AuthInvalidJwtError.



103
104
105
# File 'lib/supabase/auth/errors.rb', line 103

def initialize(message)
  super(message, name: "AuthInvalidJwtError", status: 400, code: "invalid_jwt")
end