Module exposing: isApiError, isAuthError, isForbiddenError, isNotFoundError, isRateLimitError, isServerError, isNetworkError, isOAuthError
// Source: https://github.com/MrRefactoring/jira.js | License: MIT | Copyright 2020 Vladislav Tupikin
// Provided via justclaw.it.com; keep this notice with the code.
import type {
ApiError,
AuthError,
ForbiddenError,
NotFoundError,
RateLimitError,
ScopeError,
ServerError,
} from './apiError.js';
import type { ConfigError, OAuthError } from './oauthError.js';
import type { NetworkError } from './networkError.js';
import type { SchemaMismatchError } from './schemaMismatchError.js';
import { hasErrorKind } from './kinds.js';
/**
* Any non-2xx response from the API, including every subclass.
*
* Prefer these predicates to `instanceof` in library code and in anything that might load two copies of this package:
* they check a branded marker instead of the prototype chain.
*
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key