Moved errors to ErrorManager