fix: add restrictions when setting IDs. #31

Manually merged
dananglin merged 1 commit from set-card-id-enhancement into main 2024-01-21 17:34:29 +00:00

1 commit

Author SHA1 Message Date
4e7eb77583
fix: add restrictions when setting IDs.
All checks were successful
/ test (pull_request) Successful in 40s
/ lint (pull_request) Successful in 43s
Main change:

Add restrictions when adding IDs for cards and statuses. Errors are
returned when an attempt is made to set an ID lower than 1, or an
attempt is made to set an ID that has already been set.

Additional changes:

- Error types in the board packages are now defined in errors.go.
- Small formatting to error messages.
2024-01-21 15:39:51 +00:00