SqlError, whose cause is a DrizzleQueryError, whose cause is apparently a FiberFailure which wraps(?) another SqlError, whose cause is then the PostgresError which finally tells me the actual error that I'm interested in. I've tried various methods like tapErrorCause + Cause.squash and even writing my own recursive function to dig out the error, but once I reach the FiberFailure case, doing foo.toJSON() gives me a JSON object which clearly contains a cause, but foo.cause is undefined.