code: public boolean containsError(String codePrefix) {
      for (Error error : generalErrors) {
        if (error.code.startsWith(codePrefix)) {
          return true;
        }
      }
      for (List<Error> errors : fieldErrors.values()) {
        for (Error error : errors) {
          if (error.code.startsWith(codePrefix)) {
            return true;
          }
        }
      }
      return false;
    }
docs: Search through all errors, general and field, and if any error.code is prefixed by the codePrefix, passed in,
  return true. Otherwise return false.
  <p>
  This is a little loose, making the caller know which code prefixes the Validator is using, an enum or something
  might work nicely... for now keeping this.