Nuxt/test/fixtures/basic/middleware/error.js

4 lines
98 B
JavaScript
Raw Normal View History

2017-11-02 16:48:20 +00:00
export default function ({ error }) {
error({ message: 'Middleware Error', statusCode: 505 })
}