Replaced gatorError with errors.New