Skip to content

Commit 4e40887

Browse files
authored
feat!: add ApifyApiError subclasses grouped by HTTP status (#1041)
The client now throws the `ApifyApiError` subclass matching the response's HTTP status code, so a `catch` block can branch on `instanceof` instead of comparing `statusCode` numbers or `type` strings. The split follows the status code because `type` is per-endpoint and has hundreds of values. Same approach and same class names as the Python client in apify/apify-client-python#737. | Status | Class | | --- | --- | | 400 | `InvalidRequestError` | | 401 | `UnauthorizedError` | | 403 | `ForbiddenError` | | 404 | `NotFoundError` | | 409 | `ConflictError` | | 429 | `RateLimitError` | | 5xx | `ServerError` | Any other status stays a plain `ApifyApiError`, and every subclass extends it, so existing `instanceof ApifyApiError` checks keep working. `HttpClient` builds the error through a hidden `ApifyApiError.fromResponse()` factory. The constructor is unchanged. `type` is now typed as `LiteralUnion<ApifyApiErrorType, string>`, with `ApifyApiErrorType` coming from the spec's `ErrorType` enum. Editors autocomplete `err.type === 'actor-memory-limit-exceeded'`, which is what the Slack thread asked for, and any string the API returns still type-checks. ## Breaking changes - `error.name` now holds the subclass name, so a printed stack starts with `NotFoundError: ...` instead of `ApifyApiError: ...`. - `catchNotFoundOrThrow` checks `instanceof NotFoundError`, so `get()`-style methods swallow every 404 whatever its `type`. Before, only `record-not-found`, `record-or-token-not-found` and HEAD requests were swallowed. The Python client made the same change, and the v3 upgrading guide covers it. - The same helper backs `waitForFinish()` and `call()`, which read a swallowed 404 as "the run isn't visible yet". A 404 that used to throw right away now keeps them polling until `waitSecs` runs out, and they end up throwing a generic error instead of the `ApifyApiError`. A token revoked mid-wait lands there. Closes #709 *✍️ Drafted by Claude Code*
1 parent 5d11119 commit 4e40887

11 files changed

Lines changed: 250 additions & 37 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ Besides greatly simplifying the process of querying the Apify API, the client pr
4747
Based on the endpoint, the client automatically extracts the relevant data and returns it in the
4848
expected format. Date strings are automatically converted to `Date` objects. For exceptions,
4949
we throw an `ApifyApiError`, which wraps the plain JSON errors returned by API and enriches
50-
them with other context for easier debugging.
50+
them with other context for easier debugging. The error is an instance of the subclass matching the
51+
HTTP status code, such as `NotFoundError` or `RateLimitError`, so a `catch` block can tell them apart
52+
with `instanceof`.
5153

5254
### Retries with exponential backoff
5355

‎docs/02_concepts/02_error-handling.md‎

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,58 @@ try {
2424
}
2525
```
2626

27+
## Telling API errors apart
28+
29+
The client throws the <ApiLink to="class/ApifyApiError">`ApifyApiError`</ApiLink> subclass that matches the HTTP status code of the response, so a `catch` block can branch on `instanceof` instead of comparing status codes:
30+
31+
| Status | Subclass |
32+
| --- | --- |
33+
| 400 | <ApiLink to="class/InvalidRequestError">`InvalidRequestError`</ApiLink> |
34+
| 401 | <ApiLink to="class/UnauthorizedError">`UnauthorizedError`</ApiLink> |
35+
| 403 | <ApiLink to="class/ForbiddenError">`ForbiddenError`</ApiLink> |
36+
| 404 | <ApiLink to="class/NotFoundError">`NotFoundError`</ApiLink> |
37+
| 409 | <ApiLink to="class/ConflictError">`ConflictError`</ApiLink> |
38+
| 429 | <ApiLink to="class/RateLimitError">`RateLimitError`</ApiLink> |
39+
| 5xx | <ApiLink to="class/ServerError">`ServerError`</ApiLink> |
40+
41+
Any other status code throws a plain `ApifyApiError`. Every subclass extends `ApifyApiError`, so `instanceof ApifyApiError` still matches all of them.
42+
43+
```js
44+
import { ApifyClient, NotFoundError, RateLimitError } from 'apify-client';
45+
46+
const client = new ApifyClient({ token: 'MY-APIFY-TOKEN' });
47+
48+
try {
49+
await client.actor('my-actor').call({ url: 'https://example.com' });
50+
} catch (error) {
51+
if (error instanceof NotFoundError) {
52+
// The Actor doesn't exist, or the token can't see it.
53+
} else if (error instanceof RateLimitError) {
54+
// The retries are exhausted, so back off and try again later.
55+
} else {
56+
throw error;
57+
}
58+
}
59+
```
60+
61+
Errors with the same status code differ in `type`, the machine-readable identifier the API returns. The field is typed with the known values, so your editor autocompletes them:
62+
63+
```js
64+
import { ApifyApiError, ApifyClient } from 'apify-client';
65+
66+
const client = new ApifyClient({ token: 'MY-APIFY-TOKEN' });
67+
68+
try {
69+
await client.actor('my-actor').call({ url: 'https://example.com' }, { memory: 32768 });
70+
} catch (error) {
71+
if (error instanceof ApifyApiError && error.type === 'actor-memory-limit-exceeded') {
72+
// The account has no memory left for another run, so wait and start it later.
73+
} else {
74+
throw error;
75+
}
76+
}
77+
```
78+
2779
## Invalid arguments
2880

2981
Before sending a request, the client validates the arguments you passed. When a value doesn't match the expected shape, the client throws an <ApiLink to="class/ArgumentValidationError">`ArgumentValidationError`</ApiLink> without reaching the API. Its `message` names the offending field and the value it received. For programmatic inspection, `issues` carries the structured [zod](https://zod.dev) issues and `cause` carries the original `ZodError`.

‎docs/04_upgrading/upgrading_v3.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ Some options were declared in the TypeScript types but always rejected by the cl
8888

8989
The reverse also happened: `chunkSize` now works on every paginating `list()` method. In v2 only `DatasetClient.listItems()` accepted it - everywhere else it type-checked and then threw.
9090

91+
## API errors are thrown as subclasses of `ApifyApiError`
92+
93+
An error response from the API now throws the <ApiLink to="class/ApifyApiError">`ApifyApiError`</ApiLink> subclass matching its HTTP status code: <ApiLink to="class/InvalidRequestError">`InvalidRequestError`</ApiLink> (400), <ApiLink to="class/UnauthorizedError">`UnauthorizedError`</ApiLink> (401), <ApiLink to="class/ForbiddenError">`ForbiddenError`</ApiLink> (403), <ApiLink to="class/NotFoundError">`NotFoundError`</ApiLink> (404), <ApiLink to="class/ConflictError">`ConflictError`</ApiLink> (409), <ApiLink to="class/RateLimitError">`RateLimitError`</ApiLink> (429) or <ApiLink to="class/ServerError">`ServerError`</ApiLink> (5xx). Any other status code still throws a plain `ApifyApiError`. Every subclass extends `ApifyApiError`, so existing `instanceof ApifyApiError` checks keep working. For details, see [Telling API errors apart](../02_concepts/02_error-handling.md#telling-api-errors-apart).
94+
95+
Two things change as a result:
96+
97+
- `error.name`, and with it the first line of the printed stack, now carries the subclass name, such as `NotFoundError: Actor task was not found` instead of `ApifyApiError: Actor task was not found`. Log tooling that matches on the `ApifyApiError` name has to match the subclass names as well.
98+
- Methods that swallow a 404 response, such as `get()` returning `undefined` or `delete()` succeeding silently, now swallow every 404, whatever its `type`. In v2 they swallowed only the `record-not-found` and `record-or-token-not-found` types and threw for any other 404. The same helper backs <ApiLink to="class/RunClient#waitForFinish">`waitForFinish()`</ApiLink> and <ApiLink to="class/ActorClient#call">`call()`</ApiLink>, which read a swallowed 404 as "the run is not visible yet", so a 404 that used to throw now keeps them polling until `waitSecs` runs out.
99+
91100
## Published types now follow the OpenAPI specification
92101

93102
Every output type the client publishes, such as <ApiLink to="interface/Dataset">`Dataset`</ApiLink>, <ApiLink to="interface/KeyValueStore">`KeyValueStore`</ApiLink>, <ApiLink to="interface/Build">`Build`</ApiLink>, <ApiLink to="interface/ActorRun">`ActorRun`</ApiLink>, <ApiLink to="interface/Webhook">`Webhook`</ApiLink>, <ApiLink to="interface/Schedule">`Schedule`</ApiLink>, <ApiLink to="interface/Task">`Task`</ApiLink>, <ApiLink to="interface/RequestQueue">`RequestQueue`</ApiLink>, and <ApiLink to="interface/User">`User`</ApiLink>, is now declared on top of a type generated from the published [OpenAPI specification](https://docs.apify.com/api/v2) instead of being hand-written. Several of the previous hand-written types were wrong, and some even contradicted the client's own runtime behavior. For example, `nextExclusiveStartKey` was typed as a required `string`, but `listKeys()` has always compared it to `null`.

‎docs/public-api/apify-client.api.md‎

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import type http from 'node:http';
1616
import type https from 'node:https';
1717
import type { InternalAxiosRequestConfig } from 'axios';
1818
import type { JsonValue } from 'type-fest';
19+
import type { LiteralUnion } from 'type-fest';
1920
import { Log } from '@apify/log';
2021
import { Logger } from '@apify/log';
2122
import { LogLevel } from '@apify/log';
@@ -560,15 +561,19 @@ export class ApifyApiError extends Error {
560561
attempt: number;
561562
clientMethod: string;
562563
data?: Record<string, unknown>;
564+
static fromResponse(response: AxiosResponse, attempt: number): ApifyApiError;
563565
httpMethod?: string;
564566
// (undocumented)
565567
name: string;
566568
originalStack: string;
567569
path?: string;
568570
statusCode: number;
569-
type?: string;
571+
type?: LiteralUnion<ApifyApiErrorType, string>;
570572
}
571573

574+
// @public
575+
export type ApifyApiErrorType = Schemas['ErrorType'];
576+
572577
// @public
573578
export class ApifyClient {
574579
constructor(options?: ApifyClientOptions);
@@ -2396,6 +2401,10 @@ interface components {
23962401
};
23972402
}
23982403

2404+
// @public
2405+
export class ConflictError extends ApifyApiError {
2406+
}
2407+
23992408
// @public
24002409
export interface Current extends GeneratedCurrent {
24012410
}
@@ -2623,6 +2632,10 @@ export type FinalActorVersion = ActorVersion & {
26232632
export interface FlatPricePerMonthActorPricingInfo extends GeneratedFlatPricePerMonthActorPricingInfo {
26242633
}
26252634

2635+
// @public
2636+
export class ForbiddenError extends ApifyApiError {
2637+
}
2638+
26262639
// @public
26272640
export interface FreeActorPricingInfo extends GeneratedFreeActorPricingInfo {
26282641
}
@@ -2888,6 +2901,10 @@ interface HttpClientOptions {
28882901
workflowKey?: string;
28892902
}
28902903

2904+
// @public
2905+
export class InvalidRequestError extends ApifyApiError {
2906+
}
2907+
28912908
// @public
28922909
export class InvalidResponseBodyError extends Error {
28932910
constructor(response: AxiosResponse, cause: Error);
@@ -3084,6 +3101,10 @@ interface MonthlyUsageRePointed {
30843101
usageCycle: UsageCycle;
30853102
}
30863103

3104+
// @public
3105+
export class NotFoundError extends ApifyApiError {
3106+
}
3107+
30873108
// @public
30883109
export interface OpenApiDefinition {
30893110
// (undocumented)
@@ -3241,6 +3262,10 @@ export interface PricingInfo extends GeneratedCurrentPricingInfo {
32413262
export interface ProxyGroup extends GeneratedProxyGroup {
32423263
}
32433264

3265+
// @public
3266+
export class RateLimitError extends ApifyApiError {
3267+
}
3268+
32443269
// Not exported by the entry point; reachable only as a referenced type.
32453270
// @public (undocumented)
32463271
type RequestInterceptorFunction = Parameters<AxiosInterceptorManager<ApifyRequestConfig>['use']>[0];
@@ -3718,6 +3743,10 @@ interface ScheduleRePointed {
37183743
// @public (undocumented)
37193744
type Schemas = components['schemas'];
37203745

3746+
// @public
3747+
export class ServerError extends ApifyApiError {
3748+
}
3749+
37213750
// @public
37223751
export interface ServiceUsage {
37233752
// (undocumented)
@@ -3907,6 +3936,10 @@ type Timezone = (typeof timezones)[number];
39073936
// @public (undocumented)
39083937
const timezones: readonly ["Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", "Africa/Algiers", "Africa/Asmara", "Africa/Asmera", "Africa/Bamako", "Africa/Bangui", "Africa/Banjul", "Africa/Bissau", "Africa/Blantyre", "Africa/Brazzaville", "Africa/Bujumbura", "Africa/Cairo", "Africa/Casablanca", "Africa/Ceuta", "Africa/Conakry", "Africa/Dakar", "Africa/Dar_es_Salaam", "Africa/Djibouti", "Africa/Douala", "Africa/El_Aaiun", "Africa/Freetown", "Africa/Gaborone", "Africa/Harare", "Africa/Johannesburg", "Africa/Juba", "Africa/Kampala", "Africa/Khartoum", "Africa/Kigali", "Africa/Kinshasa", "Africa/Lagos", "Africa/Libreville", "Africa/Lome", "Africa/Luanda", "Africa/Lubumbashi", "Africa/Lusaka", "Africa/Malabo", "Africa/Maputo", "Africa/Maseru", "Africa/Mbabane", "Africa/Mogadishu", "Africa/Monrovia", "Africa/Nairobi", "Africa/Ndjamena", "Africa/Niamey", "Africa/Nouakchott", "Africa/Ouagadougou", "Africa/Porto-Novo", "Africa/Sao_Tome", "Africa/Timbuktu", "Africa/Tripoli", "Africa/Tunis", "Africa/Windhoek", "America/Adak", "America/Anchorage", "America/Anguilla", "America/Antigua", "America/Araguaina", "America/Argentina/Buenos_Aires", "America/Argentina/Catamarca", "America/Argentina/ComodRivadavia", "America/Argentina/Cordoba", "America/Argentina/Jujuy", "America/Argentina/La_Rioja", "America/Argentina/Mendoza", "America/Argentina/Rio_Gallegos", "America/Argentina/Salta", "America/Argentina/San_Juan", "America/Argentina/San_Luis", "America/Argentina/Tucuman", "America/Argentina/Ushuaia", "America/Aruba", "America/Asuncion", "America/Atikokan", "America/Atka", "America/Bahia", "America/Bahia_Banderas", "America/Barbados", "America/Belem", "America/Belize", "America/Blanc-Sablon", "America/Boa_Vista", "America/Bogota", "America/Boise", "America/Buenos_Aires", "America/Cambridge_Bay", "America/Campo_Grande", "America/Cancun", "America/Caracas", "America/Catamarca", "America/Cayenne", "America/Cayman", "America/Chicago", "America/Chihuahua", "America/Coral_Harbour", "America/Cordoba", "America/Costa_Rica", "America/Creston", "America/Cuiaba", "America/Curacao", "America/Danmarkshavn", "America/Dawson", "America/Dawson_Creek", "America/Denver", "America/Detroit", "America/Dominica", "America/Edmonton", "America/Eirunepe", "America/El_Salvador", "America/Ensenada", "America/Fort_Nelson", "America/Fort_Wayne", "America/Fortaleza", "America/Glace_Bay", "America/Godthab", "America/Goose_Bay", "America/Grand_Turk", "America/Grenada", "America/Guadeloupe", "America/Guatemala", "America/Guayaquil", "America/Guyana", "America/Halifax", "America/Havana", "America/Hermosillo", "America/Indiana/Indianapolis", "America/Indiana/Knox", "America/Indiana/Marengo", "America/Indiana/Petersburg", "America/Indiana/Tell_City", "America/Indiana/Vevay", "America/Indiana/Vincennes", "America/Indiana/Winamac", "America/Indianapolis", "America/Inuvik", "America/Iqaluit", "America/Jamaica", "America/Jujuy", "America/Juneau", "America/Kentucky/Louisville", "America/Kentucky/Monticello", "America/Knox_IN", "America/Kralendijk", "America/La_Paz", "America/Lima", "America/Los_Angeles", "America/Louisville", "America/Lower_Princes", "America/Maceio", "America/Managua", "America/Manaus", "America/Marigot", "America/Martinique", "America/Matamoros", "America/Mazatlan", "America/Mendoza", "America/Menominee", "America/Merida", "America/Metlakatla", "America/Mexico_City", "America/Miquelon", "America/Moncton", "America/Monterrey", "America/Montevideo", "America/Montreal", "America/Montserrat", "America/Nassau", "America/New_York", "America/Nipigon", "America/Nome", "America/Noronha", "America/North_Dakota/Beulah", "America/North_Dakota/Center", "America/North_Dakota/New_Salem", "America/Nuuk", "America/Ojinaga", "America/Panama", "America/Pangnirtung", "America/Paramaribo", "America/Phoenix", "America/Port-au-Prince", "America/Port_of_Spain", "America/Porto_Acre", "America/Porto_Velho", "America/Puerto_Rico", "America/Punta_Arenas", "America/Rainy_River", "America/Rankin_Inlet", "America/Recife", "America/Regina", "America/Resolute", "America/Rio_Branco", "America/Rosario", "America/Santa_Isabel", "America/Santarem", "America/Santiago", "America/Santo_Domingo", "America/Sao_Paulo", "America/Scoresbysund", "America/Shiprock", "America/Sitka", "America/St_Barthelemy", "America/St_Johns", "America/St_Kitts", "America/St_Lucia", "America/St_Thomas", "America/St_Vincent", "America/Swift_Current", "America/Tegucigalpa", "America/Thule", "America/Thunder_Bay", "America/Tijuana", "America/Toronto", "America/Tortola", "America/Vancouver", "America/Virgin", "America/Whitehorse", "America/Winnipeg", "America/Yakutat", "America/Yellowknife", "Antarctica/Casey", "Antarctica/Davis", "Antarctica/DumontDUrville", "Antarctica/Macquarie", "Antarctica/Mawson", "Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Rothera", "Antarctica/South_Pole", "Antarctica/Syowa", "Antarctica/Troll", "Antarctica/Vostok", "Arctic/Longyearbyen", "Asia/Aden", "Asia/Almaty", "Asia/Amman", "Asia/Anadyr", "Asia/Aqtau", "Asia/Aqtobe", "Asia/Ashgabat", "Asia/Ashkhabad", "Asia/Atyrau", "Asia/Baghdad", "Asia/Bahrain", "Asia/Baku", "Asia/Bangkok", "Asia/Barnaul", "Asia/Beirut", "Asia/Bishkek", "Asia/Brunei", "Asia/Calcutta", "Asia/Chita", "Asia/Choibalsan", "Asia/Chongqing", "Asia/Chungking", "Asia/Colombo", "Asia/Dacca", "Asia/Damascus", "Asia/Dhaka", "Asia/Dili", "Asia/Dubai", "Asia/Dushanbe", "Asia/Famagusta", "Asia/Gaza", "Asia/Harbin", "Asia/Hebron", "Asia/Ho_Chi_Minh", "Asia/Hong_Kong", "Asia/Hovd", "Asia/Irkutsk", "Asia/Istanbul", "Asia/Jakarta", "Asia/Jayapura", "Asia/Jerusalem", "Asia/Kabul", "Asia/Kamchatka", "Asia/Karachi", "Asia/Kashgar", "Asia/Kathmandu", "Asia/Katmandu", "Asia/Khandyga", "Asia/Kolkata", "Asia/Krasnoyarsk", "Asia/Kuala_Lumpur", "Asia/Kuching", "Asia/Kuwait", "Asia/Macao", "Asia/Macau", "Asia/Magadan", "Asia/Makassar", "Asia/Manila", "Asia/Muscat", "Asia/Nicosia", "Asia/Novokuznetsk", "Asia/Novosibirsk", "Asia/Omsk", "Asia/Oral", "Asia/Phnom_Penh", "Asia/Pontianak", "Asia/Pyongyang", "Asia/Qatar", "Asia/Qostanay", "Asia/Qyzylorda", "Asia/Rangoon", "Asia/Riyadh", "Asia/Saigon", "Asia/Sakhalin", "Asia/Samarkand", "Asia/Seoul", "Asia/Shanghai", "Asia/Singapore", "Asia/Srednekolymsk", "Asia/Taipei", "Asia/Tashkent", "Asia/Tbilisi", "Asia/Tehran", "Asia/Tel_Aviv", "Asia/Thimbu", "Asia/Thimphu", "Asia/Tokyo", "Asia/Tomsk", "Asia/Ujung_Pandang", "Asia/Ulaanbaatar", "Asia/Ulan_Bator", "Asia/Urumqi", "Asia/Ust-Nera", "Asia/Vientiane", "Asia/Vladivostok", "Asia/Yakutsk", "Asia/Yangon", "Asia/Yekaterinburg", "Asia/Yerevan", "Atlantic/Azores", "Atlantic/Bermuda", "Atlantic/Canary", "Atlantic/Cape_Verde", "Atlantic/Faeroe", "Atlantic/Faroe", "Atlantic/Jan_Mayen", "Atlantic/Madeira", "Atlantic/Reykjavik", "Atlantic/South_Georgia", "Atlantic/St_Helena", "Atlantic/Stanley", "Australia/ACT", "Australia/Adelaide", "Australia/Brisbane", "Australia/Broken_Hill", "Australia/Canberra", "Australia/Currie", "Australia/Darwin", "Australia/Eucla", "Australia/Hobart", "Australia/LHI", "Australia/Lindeman", "Australia/Lord_Howe", "Australia/Melbourne", "Australia/NSW", "Australia/North", "Australia/Perth", "Australia/Queensland", "Australia/South", "Australia/Sydney", "Australia/Tasmania", "Australia/Victoria", "Australia/West", "Australia/Yancowinna", "Brazil/Acre", "Brazil/DeNoronha", "Brazil/East", "Brazil/West", "CET", "CST6CDT", "Canada/Atlantic", "Canada/Central", "Canada/Eastern", "Canada/Mountain", "Canada/Newfoundland", "Canada/Pacific", "Canada/Saskatchewan", "Canada/Yukon", "Chile/Continental", "Chile/EasterIsland", "Cuba", "EET", "EST", "EST5EDT", "Egypt", "Eire", "Etc/GMT", "Etc/GMT+0", "Etc/GMT+1", "Etc/GMT+10", "Etc/GMT+11", "Etc/GMT+12", "Etc/GMT+2", "Etc/GMT+3", "Etc/GMT+4", "Etc/GMT+5", "Etc/GMT+6", "Etc/GMT+7", "Etc/GMT+8", "Etc/GMT+9", "Etc/GMT-0", "Etc/GMT-1", "Etc/GMT-10", "Etc/GMT-11", "Etc/GMT-12", "Etc/GMT-13", "Etc/GMT-14", "Etc/GMT-2", "Etc/GMT-3", "Etc/GMT-4", "Etc/GMT-5", "Etc/GMT-6", "Etc/GMT-7", "Etc/GMT-8", "Etc/GMT-9", "Etc/GMT0", "Etc/Greenwich", "Etc/UCT", "Etc/UTC", "Etc/Universal", "Etc/Zulu", "Europe/Amsterdam", "Europe/Andorra", "Europe/Astrakhan", "Europe/Athens", "Europe/Belfast", "Europe/Belgrade", "Europe/Berlin", "Europe/Bratislava", "Europe/Brussels", "Europe/Bucharest", "Europe/Budapest", "Europe/Busingen", "Europe/Chisinau", "Europe/Copenhagen", "Europe/Dublin", "Europe/Gibraltar", "Europe/Guernsey", "Europe/Helsinki", "Europe/Isle_of_Man", "Europe/Istanbul", "Europe/Jersey", "Europe/Kaliningrad", "Europe/Kiev", "Europe/Kirov", "Europe/Lisbon", "Europe/Ljubljana", "Europe/London", "Europe/Luxembourg", "Europe/Madrid", "Europe/Malta", "Europe/Mariehamn", "Europe/Minsk", "Europe/Monaco", "Europe/Moscow", "Europe/Nicosia", "Europe/Oslo", "Europe/Paris", "Europe/Podgorica", "Europe/Prague", "Europe/Riga", "Europe/Rome", "Europe/Samara", "Europe/San_Marino", "Europe/Sarajevo", "Europe/Saratov", "Europe/Simferopol", "Europe/Skopje", "Europe/Sofia", "Europe/Stockholm", "Europe/Tallinn", "Europe/Tirane", "Europe/Tiraspol", "Europe/Ulyanovsk", "Europe/Uzhgorod", "Europe/Vaduz", "Europe/Vatican", "Europe/Vienna", "Europe/Vilnius", "Europe/Volgograd", "Europe/Warsaw", "Europe/Zagreb", "Europe/Zaporozhye", "Europe/Zurich", "GB", "GB-Eire", "GMT", "GMT+0", "GMT-0", "GMT0", "Greenwich", "HST", "Hongkong", "Iceland", "Indian/Antananarivo", "Indian/Chagos", "Indian/Christmas", "Indian/Cocos", "Indian/Comoro", "Indian/Kerguelen", "Indian/Mahe", "Indian/Maldives", "Indian/Mauritius", "Indian/Mayotte", "Indian/Reunion", "Iran", "Israel", "Jamaica", "Japan", "Kwajalein", "Libya", "MET", "MST", "MST7MDT", "Mexico/BajaNorte", "Mexico/BajaSur", "Mexico/General", "NZ", "NZ-CHAT", "Navajo", "PRC", "PST8PDT", "Pacific/Apia", "Pacific/Auckland", "Pacific/Bougainville", "Pacific/Chatham", "Pacific/Chuuk", "Pacific/Easter", "Pacific/Efate", "Pacific/Enderbury", "Pacific/Fakaofo", "Pacific/Fiji", "Pacific/Funafuti", "Pacific/Galapagos", "Pacific/Gambier", "Pacific/Guadalcanal", "Pacific/Guam", "Pacific/Honolulu", "Pacific/Johnston", "Pacific/Kiritimati", "Pacific/Kosrae", "Pacific/Kwajalein", "Pacific/Majuro", "Pacific/Marquesas", "Pacific/Midway", "Pacific/Nauru", "Pacific/Niue", "Pacific/Norfolk", "Pacific/Noumea", "Pacific/Pago_Pago", "Pacific/Palau", "Pacific/Pitcairn", "Pacific/Pohnpei", "Pacific/Ponape", "Pacific/Port_Moresby", "Pacific/Rarotonga", "Pacific/Saipan", "Pacific/Samoa", "Pacific/Tahiti", "Pacific/Tarawa", "Pacific/Tongatapu", "Pacific/Truk", "Pacific/Wake", "Pacific/Wallis", "Pacific/Yap", "Poland", "Portugal", "ROC", "ROK", "Singapore", "Turkey", "UCT", "US/Alaska", "US/Aleutian", "US/Arizona", "US/Central", "US/East-Indiana", "US/Eastern", "US/Hawaii", "US/Indiana-Starke", "US/Michigan", "US/Mountain", "US/Pacific", "US/Samoa", "UTC", "Universal", "W-SU", "WET", "Zulu"];
39093938

3939+
// @public
3940+
export class UnauthorizedError extends ApifyApiError {
3941+
}
3942+
39103943
// @public
39113944
export interface UsageCycle extends GeneratedUsageCycle {
39123945
}

0 commit comments

Comments
 (0)