universal-router v7.0.0 Release Notes

Release Date: 2018-10-11 // over 5 years ago
    • The router no longer mutate errors to avoid issues with non-extensible objects. (BREAKING CHANGE #158).

    Migration from v6 to v7:

    • If your code relies on error.context or error.code you still can access them using errorHandler option: js errorHandler(error, context) { const code = error.status || 500 console.log(error, context, code) }