import { Async } from './interface.js' ; export default class SuspenseError extends Error { readonly action : Async < unknown , unknown > ; readonly params : unknown ; readonly cause : Error ; constructor ( action , key , cause ) { super ( cause . message ) ; this . action = action ; this . params = key ; this . cause = cause ; } }