Home > @poq/proxy-middleware > MiddlewareError > (constructor)
Constructs error.
Signature:
constructor(message: string, statusCode?: number);
| Parameter | Type | Description |
|---|---|---|
| message | string | Description of error. |
| statusCode | number | (Optional) Http Status code. |