Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.nyc_output
.tap
lib
types
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

41 changes: 7 additions & 34 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,20 @@
sequelize-pool
**sequelize-pool**

# sequelize-pool
***

## Table of contents
# sequelize-pool

### Classes
## Classes

- [AggregateError](classes/AggregateError.md)
- [Pool](classes/Pool.md)
- [TimeoutError](classes/TimeoutError.md)

### Interfaces
## Interfaces

- [FactoryOptions](interfaces/FactoryOptions.md)

### Type Aliases

- [FactoryLogger](README.md#factorylogger)
- [LogLevel](README.md#loglevel)

## Type Aliases

### FactoryLogger

Ƭ **FactoryLogger**: (`message`: `string`, `level`: [`LogLevel`](README.md#loglevel)) => `void`

#### Type declaration

▸ (`message`, `level`): `void`

##### Parameters

| Name | Type |
| :------ | :------ |
| `message` | `string` |
| `level` | [`LogLevel`](README.md#loglevel) |

##### Returns

`void`

___

### LogLevel

Ƭ **LogLevel**: ``"verbose"`` \| ``"info"`` \| ``"warn"`` \| ``"error"``
- [FactoryLogger](type-aliases/FactoryLogger.md)
- [LogLevel](type-aliases/LogLevel.md)
122 changes: 56 additions & 66 deletions docs/classes/AggregateError.md
Original file line number Diff line number Diff line change
@@ -1,157 +1,147 @@
[**sequelize-pool**](../README.md)

***

[sequelize-pool](../README.md) / AggregateError

# Class: AggregateError

A wrapper for multiple Errors

## Hierarchy
## Extends

- `Error`

↳ **`AggregateError`**

## Table of contents

### Constructors

- [constructor](AggregateError.md#constructor)

### Properties

- [errors](AggregateError.md#errors)
- [message](AggregateError.md#message)
- [name](AggregateError.md#name)
- [stack](AggregateError.md#stack)
- [prepareStackTrace](AggregateError.md#preparestacktrace)
- [stackTraceLimit](AggregateError.md#stacktracelimit)
## Constructors

### Methods
### Constructor

- [toString](AggregateError.md#tostring)
- [captureStackTrace](AggregateError.md#capturestacktrace)
> **new AggregateError**(`errors`): `AggregateError`

## Constructors
#### Parameters

### constructor
##### errors

• **new AggregateError**(`errors`)
`Error`[]

#### Parameters
#### Returns

| Name | Type |
| :------ | :------ |
| `errors` | `Error`[] |
`AggregateError`

#### Overrides

Error.constructor
`Error.constructor`

## Properties

### errors

**errors**: `Error`[]
> **errors**: `Error`[]

___
***

### message

**message**: `string`
> **message**: `string`

#### Inherited from

Error.message
`Error.message`

___
***

### name

**name**: `string`
> **name**: `string`

#### Inherited from

Error.name
`Error.name`

___
***

### stack
### stack?

• `Optional` **stack**: `string`
> `optional` **stack**: `string`

#### Inherited from

Error.stack
`Error.stack`

___
***

### prepareStackTrace
### prepareStackTrace()?

▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
> `static` `optional` **prepareStackTrace**: (`err`, `stackTraces`) => `any`

#### Type declaration
Optional override for formatting stack traces

▸ (`err`, `stackTraces`): `any`
#### Parameters

Optional override for formatting stack traces
##### err

`Error`

##### Parameters
##### stackTraces

| Name | Type |
| :------ | :------ |
| `err` | `Error` |
| `stackTraces` | `CallSite`[] |
`CallSite`[]

##### Returns
#### Returns

`any`

**`See`**
#### See

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

#### Inherited from

Error.prepareStackTrace
`Error.prepareStackTrace`

___
***

### stackTraceLimit

▪ `Static` **stackTraceLimit**: `number`
> `static` **stackTraceLimit**: `number`

#### Inherited from

Error.stackTraceLimit
`Error.stackTraceLimit`

## Methods

### toString
### toString()

> **toString**(): `string`

▸ **toString**(): `string`
Returns a string representation of an object.

#### Returns

`string`

___
***

### captureStackTrace
### captureStackTrace()

▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
> `static` **captureStackTrace**(`targetObject`, `constructorOpt`?): `void`

Create .stack property on a target object

#### Parameters

| Name | Type |
| :------ | :------ |
| `targetObject` | `Object` |
| `constructorOpt?` | `Function` |
##### targetObject

`Object`

##### constructorOpt?

`Function`

#### Returns

`void`

#### Inherited from

Error.captureStackTrace
`Error.captureStackTrace`
Loading