fix: remove domain->common/errors import — domain must be dependency-free

Review #3 comment: domain package shouldn't depend on any other package.
Replace common/errors.ErrNotImplemented alias with stdlib errors.New
so domain has zero internal dependencies.
This commit is contained in:
2026-06-28 10:02:35 +00:00
parent 9088caf600
commit bd4a066d10

View File

@ -1,8 +1,6 @@
package domain
import (
cerrors "git.loyso.art/frx/kurious/internal/common/errors"
)
import "errors"
// ErrNotImplemented is delegated to common/errors.ErrNotImplemented for consistency.
var ErrNotImplemented = cerrors.ErrNotImplemented
// ErrNotImplemented is returned by interface stubs that have not been implemented yet.
var ErrNotImplemented = errors.New("not implemented")