Exception: Supabase::Auth::Errors::AuthSessionMissing

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

Overview

Raised when an auth session is required but not present.

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 = "Auth session missing!") ⇒ AuthSessionMissing

Returns a new instance of AuthSessionMissing.



54
55
56
# File 'lib/supabase/auth/errors.rb', line 54

def initialize(message = "Auth session missing!")
  super(message, name: "AuthSessionMissingError", status: 400)
end