Poq.SDK.Node

Home > @poq/proxy-middleware > MiddlewareError

MiddlewareError class

Defines middleware error.

Signature:

export declare class MiddlewareError extends Error 

Extends: Error

Remarks

Carries status code and message.

Constructors

Constructor Modifiers Description
(constructor)(message, statusCode)   Constructs error.

Properties

Property Modifiers Type Description
statusCode   number