package particle

import "errors"

var (
	ErrNotFound            = errors.New("particle not found")
	ErrAccessDenied        = errors.New("access denied")
	ErrCapacityExceeded    = errors.New("open stream capacity exceeded")
	ErrInvalidParent       = errors.New("invalid parent particle")
	ErrInvalidType         = errors.New("invalid particle type")
	ErrInvalidData         = errors.New("invalid particle data")
	ErrNotAStream          = errors.New("particle is not a stream")
	ErrStreamAlreadyOpen   = errors.New("stream is already open")
	ErrStreamAlreadyClosed = errors.New("stream is already closed")
	ErrAccessExpansion     = errors.New("cannot expand access beyond parent")
	ErrMembersRequired     = errors.New("custom visibility requires at least one member")
	ErrInheritedAtRoot     = errors.New("root particles cannot use inherited visibility")
	ErrNotAContainer       = errors.New("only streams can have members")
)
