Added a `new` operator that was missing when creating and throwing a new error