Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

955 B
Raw Blame
package providers

import "errors"

// Typed errors for identity provider operations
// These enable robust error checking with errors.Is() throughout the stack
var (
	// ErrProviderTokenExpired indicates that the provided token has expired
	ErrProviderTokenExpired = errors.New("provider: token has expired")

	// ErrProviderInvalidToken indicates that the token format is invalid or malformed
	ErrProviderInvalidToken = errors.New("provider: invalid token format")

	// ErrProviderInvalidIssuer indicates that the token issuer is not trusted
	ErrProviderInvalidIssuer = errors.New("provider: invalid token issuer")

	// ErrProviderInvalidAudience indicates that the token audience doesn't match expected value
	ErrProviderInvalidAudience = errors.New("provider: invalid token audience")

	// ErrProviderMissingClaims indicates that required claims are missing from the token
	ErrProviderMissingClaims = errors.New("provider: missing required claims")
)