Poq.SDK.Node

Home > @poq/proxy-middleware > MiddlewareError > (constructor)

MiddlewareError.(constructor)

Constructs error.

Signature:

constructor(message: string, statusCode?: number);

Parameters

Parameter Type Description
message string Description of error.
statusCode number (Optional) Http Status code.