Module: NameBank::Error

Included in:
EmptyPool, MalformedPool, UnknownCountry, UnknownGender, UnknownScript, UnknownVariant
Defined in:
lib/name_bank/errors.rb

Overview

Mixed into every error this gem raises, so rescue NameBank::Error catches all of them while each error keeps its natural superclass. Errors whose valid values are a fixed, countable set are ArgumentErrors; errors that depend on what a data dir happens to hold are not.