Exception: Supabase::Auth::Errors::AuthApiError

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

Overview

Raised for GoTrue server API errors (4xx/5xx responses).

Instance Attribute Summary

Attributes inherited from AuthError

#code, #status

Instance Method Summary collapse

Methods inherited from AuthError

#to_h

Constructor Details

#initialize(message, status:, code: nil) ⇒ AuthApiError

Returns a new instance of AuthApiError.



23
24
25
# File 'lib/supabase/auth/errors.rb', line 23

def initialize(message, status:, code: nil)
  super(message, status: status, code: code)
end