which works great for getting the original error object — however, we’d like to the invoke the default Nuxt error handling. in a perfect world our handler would just be a higher order function:
import { errorhandler } from '#magic-nuxt-import-thingy???'export default defineNitroErrorHandler((error, event) => { // Do our custom logging logic here with the origin H3Error event... return errorhandler(error, event)})
import { errorhandler } from '#magic-nuxt-import-thingy???'export default defineNitroErrorHandler((error, event) => { // Do our custom logging logic here with the origin H3Error event... return errorhandler(error, event)})