Localize.UnknownRbnfRuleError exception (Localize v1.5.0)

Copy Markdown View Source

Exception raised when an RBNF rule name cannot be resolved for a given locale.

Fields

  • :rule_name — the rule set name that was asked for.

  • :locale — the locale it was asked for.

  • :available — the sorted names of the rule sets the locale does have.

  • :rules_in — the nearest parent whose RBNF rules the locale takes, when that parent is not a supported locale and so was not read: :no for nb, :en for en-GB. Otherwise nil.