mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-23 23:09:28 +00:00
chore(docs): update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Class: PlayerError
|
||||
|
||||
Defined in: [src/utils/Utils.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L54)
|
||||
Defined in: [src/utils/Utils.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L54)
|
||||
|
||||
## Extends
|
||||
|
||||
@@ -60,7 +60,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1082
|
||||
|
||||
> `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
|
||||
|
||||
@@ -108,7 +108,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078
|
||||
|
||||
> `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
|
||||
@@ -130,7 +130,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
|
||||
@@ -196,11 +196,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
|
||||
|
||||
`Error.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