new Pending class extending Error