UNPKG

http-errors-express

Version:

Express middleware for handling errors created with the http-errors package.

9 lines (5 loc) 173 B
# 3.0.0 Breaking change: httpErrors now takes an opts object instead of a single logError function. # 2.0.0 Breaking change: logError gets passed a second "req" argument