const errorContent = await Promise.resolve('hello error') function Error({ statusCode }) { return

{errorContent}

} export default Error