throw new Error had no .stack property like withError has