[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [ChildProcessError](./js-utils.childprocesserror.md) > [(constructor)](./js-utils.childprocesserror._constructor_.md)
## ChildProcessError.(constructor)
Constructs a new instance of the `ChildProcessError` class
Signature:
```typescript
constructor(msg?: string, ...nested: Array);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| msg | string
| |
| nested | Array<Error>
| |