Exception: Supabase::Auth::Errors::AuthImplicitGrantRedirectError
- Inherits:
-
CustomAuthError
- Object
- StandardError
- AuthError
- CustomAuthError
- Supabase::Auth::Errors::AuthImplicitGrantRedirectError
- Defined in:
- lib/supabase/auth/errors.rb
Overview
Raised when an implicit grant redirect contains an error.
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Attributes inherited from CustomAuthError
Attributes inherited from AuthError
Instance Method Summary collapse
-
#initialize(message, details: nil) ⇒ AuthImplicitGrantRedirectError
constructor
A new instance of AuthImplicitGrantRedirectError.
- #to_h ⇒ Object
Constructor Details
#initialize(message, details: nil) ⇒ AuthImplicitGrantRedirectError
Returns a new instance of AuthImplicitGrantRedirectError.
70 71 72 73 |
# File 'lib/supabase/auth/errors.rb', line 70 def initialize(, details: nil) super(, name: "AuthImplicitGrantRedirectError", status: 500) @details = details end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
68 69 70 |
# File 'lib/supabase/auth/errors.rb', line 68 def details @details end |
Instance Method Details
#to_h ⇒ Object
75 76 77 |
# File 'lib/supabase/auth/errors.rb', line 75 def to_h { name: @name, message: , status: @status, code: @code, details: @details } end |