Changes
Page history
Update generated documentation
authored
May 16, 2024
by
Mateusz Tyszczak
Hide whitespace changes
Inline
Side-by-side
classes/WorkerBeeError.md
0 → 100644
View page @
29308c1e
[
@hiveio/workerbee
](
../globals.md
)
/ WorkerBeeError
# Class: WorkerBeeError
## Extends
-
`Error`
## Constructors
### new WorkerBeeError()
> **new WorkerBeeError**(`message`): [`WorkerBeeError`](./WorkerBeeError)
#### Parameters
•
**message**
:
`string`
#### Returns
[
`WorkerBeeError`
](
./WorkerBeeError
)
#### Overrides
`Error.constructor`
#### Source
src/errors.ts:5
## Properties
### message
> **message**: `string`
#### Inherited from
`Error.message`
#### Source
node
\_
modules/.pnpm/typescript@5.2.2/node
\_
modules/typescript/lib/lib.es5.d.ts:1068
***
### name
> **name**: `string`
#### Inherited from
`Error.name`
#### Source
node
\_
modules/.pnpm/typescript@5.2.2/node
\_
modules/typescript/lib/lib.es5.d.ts:1067
***
### stack?
> `optional` **stack**: `string`
#### Inherited from
`Error.stack`
#### Source
node
\_
modules/.pnpm/typescript@5.2.2/node
\_
modules/typescript/lib/lib.es5.d.ts:1069
***
### prepareStackTrace()?
> `static` `optional` **prepareStackTrace**: (`err`, `stackTraces`) => `any`
Optional override for formatting stack traces
#### Parameters
•
**err**
:
`Error`
•
**stackTraces**
:
`CallSite`
[]
#### Returns
`any`
#### See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
#### Inherited from
`Error.prepareStackTrace`
#### Source
node
\_
modules/.pnpm/@types+node@20.7.1/node
\_
modules/@types/node/globals.d.ts:11
***
### stackTraceLimit
> `static` **stackTraceLimit**: `number`
#### Inherited from
`Error.stackTraceLimit`
#### Source
node
\_
modules/.pnpm/@types+node@20.7.1/node
\_
modules/@types/node/globals.d.ts:13
## Methods
### captureStackTrace()
> `static` **captureStackTrace**(`targetObject`, `constructorOpt`?): `void`
Create .stack property on a target object
#### Parameters
•
**targetObject**
:
`object`
•
**constructorOpt?**
:
`Function`
#### Returns
`void`
#### Inherited from
`Error.captureStackTrace`
#### Source
node
\_
modules/.pnpm/@types+node@20.7.1/node
\_
modules/@types/node/globals.d.ts:4