Help us shape the future of Go! Take the 2026 Go Developer Survey

errors

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEndedAuthentication   = errors.New("ended authentication")
	ErrExpiredAuthentication = errors.New("expired authentication")
	ErrLockedAccount         = errors.New("locked account")
	// The holder's tenant is not the one an authorizer allows.
	ErrTenantNotAllowed = errors.New("tenant not allowed")
	// None of the holder's roles is one an authorizer allows.
	ErrRolesNotAllowed = errors.New("roles not allowed")
	// A refresh proof names a challenge the store does not hold. The challenge is single use, so a
	// browser replaying one it has already spent produces this; it is the proof that is at fault,
	// not the store.
	ErrNoDbscChallenge = errors.New("no dbsc challenge matches the proof")
	// A refresh proof names a challenge that has passed its expiry. The browser signs the challenge
	// it cached at the previous refresh, so a gap longer than the challenge's lifetime -- an idle
	// session, most often -- produces this.
	ErrExpiredDbscChallenge = errors.New("the dbsc challenge the proof names has expired")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL