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:
this.addLayout({
name:"error",
src: "path/to/custom/error.vue"
})
It would be helpful for module to developer to overwrite the error page on demand.