# `Localize.UnknownRbnfRuleError`
[🔗](https://github.com/elixir-localize/localize/blob/v1.5.0/lib/localize/exception/unknown_rbnf_rule_error.ex#L1)

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`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
