MCPcopy Index your code
hub / github.com/supabase/auth / ErrorCause

Interface ErrorCause

internal/api/errors.go:71–73  ·  view source on GitHub ↗

ErrorCause is an error interface that contains the method Cause() for returning root cause errors

Source from the content-addressed store, hash-verified

69
70// ErrorCause is an error interface that contains the method Cause() for returning root cause errors
71type ErrorCause interface {
72 Cause() error
73}
74
75type HTTPErrorResponse20240101 struct {
76 Code apierrors.ErrorCode `json:"code"`

Callers 8

getErrorQueryStringFunction · 0.65
prepErrorRedirectURLMethod · 0.65
HandleResponseErrorFunction · 0.65
TestHTTPErrorsFunction · 0.65

Implementers 4

CommitWithErrorinternal/storage/dial.go
HTTPErrorinternal/api/provider/errors.go
OAuthErrorinternal/api/apierrors/apierrors.go
HTTPErrorinternal/api/apierrors/apierrors.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…