kanboard-api is a type-safe, idiomatic Go client library for the Kanboard (https://kanboard.org) API.
Add complete error handling system for Kanboard API client: Sentinel errors: - Network: ErrConnectionFailed, ErrTimeout - Auth: ErrUnauthorized, ErrForbidden - Resources: ErrNotFound, ErrProjectNotFound, ErrTaskNotFound, ErrColumnNotFound, ErrCommentNotFound - Logic: ErrAlreadyInLastColumn, ErrAlreadyInFirstColumn, ErrTaskClosed, ErrTaskOpen - Validation: ErrEmptyTitle, ErrInvalidProjectID Helper functions: - IsNotFound() - checks all not-found error variants - IsUnauthorized() - checks auth errors - IsAPIError() - checks for API errors via errors.As All errors support errors.Is/errors.As for proper error wrapping and context preservation. Closes: kanboard-api-s7k |
||
|---|---|---|
| .beads | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| auth.go | ||
| auth_test.go | ||
| client.go | ||
| errors.go | ||
| errors_test.go | ||
| go.mod | ||
| jsonrpc.go | ||
| jsonrpc_test.go | ||