···110110111111// serialize rollup error on server to preserve details as a test error
112112function handleRollupError(e: unknown): never {
113113- if (e instanceof Error && 'plugin' in e) {
113113+ if (
114114+ e instanceof Error
115115+ && ('plugin' in e || 'frame' in e || 'id' in e)
116116+ ) {
114117 // eslint-disable-next-line no-throw-literal
115118 throw {
116119 name: e.name,