list_error_codes
List every error code in the Trillboards API error catalog.
WHEN TO USE:
Understanding what error codes the API can return.
Building a client-side error handler that covers all cases.
Looking up error types, HTTP statuses, and documentation URLs.
RETURNS:
object: "list"
data: Array of { code, type, http_status, description, doc_url }
total: Total number of error codes.
Equivalent to GET /v1/errors but executed in-process (no HTTP round-trip).
EXAMPLE: Agent: "What error codes can the API return?" list_error_codes()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||