// Package domain holds auth module domain definitions.
package domain

import "fmt"

// Module-wide sentinel errors for invite flows.
var (
	ErrInviteNotFound              = fmt.Errorf("auth: invite not found")
	ErrInviteExpired               = fmt.Errorf("auth: invite expired")
	ErrInviteExhausted             = fmt.Errorf("auth: invite exhausted")
	ErrInviteLocked                = fmt.Errorf("auth: invite consume locked")
	ErrInviteCodeEmpty             = fmt.Errorf("auth: invite code is empty")
	ErrInviteTenantEmpty           = fmt.Errorf("auth: tenant_id is empty")
	ErrDuplicateRegistrationMeta   = fmt.Errorf("auth: duplicate registration metadata")
	ErrRegistrationSessionNotFound = fmt.Errorf("auth: registration session not found")
	ErrLoginSessionNotFound        = fmt.Errorf("auth: login session not found")
	ErrLoginMFAChallengeNotFound   = fmt.Errorf("auth: login mfa challenge not found")
)
