Error refactored error enums