package domain import "errors" var ( ErrCapabilityNotFound = errors.New("capability not found") ErrExecutionNotFound = errors.New("execution not found") ErrConflict = errors.New("version conflict") ErrAmbiguousTarget = errors.New("ambiguous target") ErrTargetNotFound = errors.New("target not found") ErrTargetTypeMismatch = errors.New("target type does not match capability") ErrCapabilityNotBound = errors.New("capability not registered for this entity") ErrEntityRetired = errors.New("entity is retired") ErrEntityMerged = errors.New("entity is merged") ErrValidation = errors.New("validation error") ErrInternal = errors.New("internal error") ErrIdempotencyReplay = errors.New("idempotent request already processed") ErrCapabilityDisabled = errors.New("capability is disabled") ErrCapabilityVersionMismatch = errors.New("capability version mismatch") ErrConfirmationRequired = errors.New("confirmation required") ErrConfirmationNotFound = errors.New("confirmation not found") ErrConfirmationInvalid = errors.New("confirmation does not match request") ErrConfirmationExpired = errors.New("confirmation expired") ErrConfirmationConsumed = errors.New("confirmation already consumed") ErrExecutionInFlight = errors.New("execution already in flight for this capability and target") )