Page Contents
Home > @loopback/rest > normalizeParsingError
normalizeParsingError() function
Normalize parsing errors as 4xx
Signature:
export declare function normalizeParsingError(err: HttpError): HttpError<number>;
Parameters
Parameter | Type | Description |
---|---|---|
err | HttpError |
Returns:
HttpError<number>