Exception: ModpackLocalizer::InvalidRegionCodeError
- Defined in:
- lib/modpack_localizer/util/error.rb
Constant Summary collapse
- INVALID_LOCALE_CODE =
<<~TEXT.freeze \n %s is an invalid region code. Please specify a valid language or country or region code. TEXT
Instance Method Summary collapse
-
#initialize(locale_code) ⇒ InvalidRegionCodeError
constructor
A new instance of InvalidRegionCodeError.
Constructor Details
#initialize(locale_code) ⇒ InvalidRegionCodeError
Returns a new instance of InvalidRegionCodeError.
43 44 45 |
# File 'lib/modpack_localizer/util/error.rb', line 43 def initialize(locale_code) super(format(INVALID_LOCALE_CODE, locale_code)) end |