checkvist-api is a type-safe, idiomatic Go client library for the Checkvist (https://checkvist.com/) API.
Find a file
Oliver Jakoubek 832364a06f Implement error types and sentinel errors
Add errors.go with:
- APIError struct with StatusCode, Message, RequestID, and Err fields
- Error() method for human-readable error messages
- Unwrap() method for errors.Is() and errors.As() compatibility
- Sentinel errors: ErrUnauthorized, ErrNotFound, ErrRateLimited,
  ErrBadRequest, ErrServerError
- NewAPIError helper function to create APIError from HTTP response
  with automatic status code mapping to sentinel errors

Closes checkvist-api-mnh
2026-01-14 13:23:48 +01:00
.beads Implement error types and sentinel errors 2026-01-14 13:23:48 +01:00
magefiles Initial commit 2026-01-14 12:42:00 +01:00
testdata Initial commit 2026-01-14 12:42:00 +01:00
.gitattributes Initial commit 2026-01-14 12:42:00 +01:00
.gitignore Initial commit 2026-01-14 12:42:00 +01:00
AGENTS.md Initial commit 2026-01-14 12:42:00 +01:00
checklists.go Initial commit 2026-01-14 12:42:00 +01:00
client.go Initial commit 2026-01-14 12:42:00 +01:00
errors.go Implement error types and sentinel errors 2026-01-14 13:23:48 +01:00
filter.go Initial commit 2026-01-14 12:42:00 +01:00
go.mod Initial commit 2026-01-14 12:42:00 +01:00
LICENSE Initial commit 2026-01-14 12:42:00 +01:00
models.go Implement data models for Checkvist API entities 2026-01-14 13:22:29 +01:00
notes.go Initial commit 2026-01-14 12:42:00 +01:00
options.go Initial commit 2026-01-14 12:42:00 +01:00
tasks.go Initial commit 2026-01-14 12:42:00 +01:00