making the errorPath the same as the defaultRootPath