Issue: 3194

this.addLayout of module not possible to set error layout

[issue link]

What problem does this feature solve?

Currently only layouts/error.vue is able to overwrite the error layout. I’d like to do this inside of a module with:

 src: "path/to/custom/error.vue"

It would be helpful for module to developer to overwrite the error page on demand.

This feature request is available on Nuxt.js community (#c6850)