static normalizeCountry()

in src/objects/serverside/utils.js [99:105]


  static normalizeCountry (country: string) {
    if (country_codes.getCountry(country.toUpperCase()) == null) {
      throw new Error("Invalid country code: '" + country + "'. Please follow ISO 3166-1 2-letter standard for representing country. eg: US");
    }

    return country;
  }