class BN::Error::API::InvalidLocale

Raised when the locale is invalid.

Public Instance Methods

to_s() click to toggle source
# File lib/bn/error/api/invalid_locale.rb, line 10
def to_s
  "Invalid locale for region '#{@region[:name]}'. Must be one of the following: #{@region[:locales]}"
end