Tuesday, 10 April 2018

Catch body parser error “request too large” error and return custom error?

Am using body parsing JSON express middle ware. But my app has custom error generation/format layer which inject some “business logic friendly” metadata. How I can catch these and wrap?

Submitted April 10, 2018 at 01:51PM by MyyHealthyRewards

No comments:

Post a Comment