Nuxt/test/fixtures/basic/middleware/error.js
2017-11-02 17:48:20 +01:00

4 lines
98 B
JavaScript

export default function ({ error }) {
error({ message: 'Middleware Error', statusCode: 505 })
}