mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
chore(docs): update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Class: OAuth2Error
|
||||
|
||||
Defined in: [src/utils/Utils.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L51)
|
||||
Defined in: [src/utils/Utils.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L51)
|
||||
|
||||
## Extends
|
||||
|
||||
@@ -14,7 +14,7 @@ Defined in: [src/utils/Utils.ts:51](https://github.com/LuanRT/YouTube.js/blob/07
|
||||
|
||||
> **new OAuth2Error**(`message`, `info?`): `OAuth2Error`
|
||||
|
||||
Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L33)
|
||||
Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L33)
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -40,7 +40,7 @@ Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/07
|
||||
|
||||
> `optional` **cause**: `unknown`
|
||||
|
||||
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
||||
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -52,7 +52,7 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
||||
|
||||
> **date**: `Date`
|
||||
|
||||
Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L29)
|
||||
Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L29)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -64,7 +64,7 @@ Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/07
|
||||
|
||||
> `optional` **info**: `any`
|
||||
|
||||
Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L31)
|
||||
Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L31)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -112,7 +112,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078
|
||||
|
||||
> **version**: `string`
|
||||
|
||||
Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L30)
|
||||
Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L30)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
@@ -124,7 +124,7 @@ Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/07
|
||||
|
||||
> `static` **stackTraceLimit**: `number`
|
||||
|
||||
Defined in: node\_modules/@types/node/globals.d.ts:162
|
||||
Defined in: node\_modules/@types/node/globals.d.ts:67
|
||||
|
||||
The `Error.stackTraceLimit` property specifies the number of stack frames
|
||||
collected by a stack trace (whether generated by `new Error().stack` or
|
||||
@@ -146,7 +146,7 @@ not capture any frames.
|
||||
|
||||
> `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
|
||||
|
||||
Defined in: node\_modules/@types/node/globals.d.ts:146
|
||||
Defined in: node\_modules/@types/node/globals.d.ts:51
|
||||
|
||||
Creates a `.stack` property on `targetObject`, which when accessed returns
|
||||
a string representing the location in the code at which
|
||||
@@ -212,11 +212,35 @@ a();
|
||||
|
||||
***
|
||||
|
||||
### isError()
|
||||
|
||||
> `static` **isError**(`error`): `error is Error`
|
||||
|
||||
Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23
|
||||
|
||||
Indicates whether the argument provided is a built-in Error instance or not.
|
||||
|
||||
#### Parameters
|
||||
|
||||
##### error
|
||||
|
||||
`unknown`
|
||||
|
||||
#### Returns
|
||||
|
||||
`error is Error`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InnertubeError`](InnertubeError.md).[`isError`](InnertubeError.md#iserror)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()
|
||||
|
||||
> `static` **prepareStackTrace**(`err`, `stackTraces`): `any`
|
||||
|
||||
Defined in: node\_modules/@types/node/globals.d.ts:150
|
||||
Defined in: node\_modules/@types/node/globals.d.ts:55
|
||||
|
||||
#### Parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user