Error class namspace corrected