@@ -100,14 +100,15 @@ try {
100100
101101All exceptions inherit from ` RdapApiError ` and include ` statusCode ` , ` error ` , and ` message ` properties.
102102
103- | Exception | HTTP Status | When |
104- | --------------------------- | ----------- | ---------------------------- |
105- | ` ValidationError ` | 400 | Invalid input format |
106- | ` AuthenticationError ` | 401 | Missing or invalid API key |
107- | ` SubscriptionRequiredError ` | 403 | No active subscription |
108- | ` NotFoundError ` | 404 | No RDAP data found |
109- | ` RateLimitError ` | 429 | Rate limit or quota exceeded |
110- | ` UpstreamError ` | 502 | Upstream RDAP server error |
103+ | Exception | HTTP Status | When |
104+ | ----------------------------- | ----------- | ----------------------------------- |
105+ | ` ValidationError ` | 400 | Invalid input format |
106+ | ` AuthenticationError ` | 401 | Missing or invalid API key |
107+ | ` SubscriptionRequiredError ` | 403 | No active subscription |
108+ | ` NotFoundError ` | 404 | No RDAP data found |
109+ | ` RateLimitError ` | 429 | Rate limit or quota exceeded |
110+ | ` UpstreamError ` | 502 | Upstream RDAP server error |
111+ | ` TemporarilyUnavailableError ` | 503 | Domain data temporarily unavailable |
111112
112113## Configuration
113114
@@ -138,6 +139,14 @@ import type { DomainResponse, IpResponse, AsnResponse } from "rdapapi";
138139- [ OpenAPI Spec] ( https://rdapapi.io/openapi.yaml )
139140- [ Pricing] ( https://rdapapi.io/pricing )
140141
142+ ## Development
143+
144+ Set up pre-commit hooks (runs lint + tests before each commit):
145+
146+ ``` bash
147+ git config core.hooksPath .githooks
148+ ```
149+
141150## License
142151
143152MIT
0 commit comments