Aleksandr Trushkin 9088caf600 fix: unify ErrNotFound — remove domain.ErrNotFound, use errors.ErrNotFound everywhere
Responds to PR #5 review comment: consolidate on common/errors.ErrNotFound
instead of having two separate error types (domain.PlainError and
common/errors.SimpleError) for the same sentinel.

- Remove domain.ErrNotFound and domain.PlainError type
- Keep domain.ErrNotImplemented as alias to common/errors.ErrNotImplemented
- Update sqlite_organization_repository to return cerrors.ErrNotFound
- Update sqlite_learning_category_repository to return cerrors.ErrNotFound
- Update server.go handleError to check only errors.ErrNotFound
- Update test to assert errors.ErrNotFound
- Remove unused domain import from server.go
2026-06-28 07:56:13 +00:00
2024-06-16 23:55:49 +03:00
2024-01-11 11:55:37 +03:00
2024-04-11 10:33:14 +03:00
2024-09-25 00:47:12 +03:00
2024-03-24 16:51:39 +03:00
2026-06-27 22:46:52 +00:00
2024-09-25 00:47:12 +03:00
2023-11-22 01:12:04 +03:00
2024-09-25 00:47:12 +03:00
Description
No description provided
1.1 MiB
Languages
Go 84.3%
HTML 7.8%
templ 7.2%
Dockerfile 0.7%