mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
91dddc439f
This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
22 lines
550 B
Markdown
22 lines
550 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [api](./iceshrimp-sdk.api.md) > [isAPIError](./iceshrimp-sdk.api.isapierror.md)
|
|
|
|
## api.isAPIError() function
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
export declare function isAPIError(reason: any): reason is APIError;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| reason | any | |
|
|
|
|
**Returns:**
|
|
|
|
reason is [APIError](./iceshrimp-sdk.api.apierror.md)
|
|
|