Exception: BN::Error::API::InvalidLocale

Inherits:
Base
  • Object
show all
Defined in:
lib/bn/error/api/invalid_locale.rb

Overview

Raised when the locale is invalid.

Instance Method Summary collapse

Methods included from Helpers::HasAttributes

included, #initialize, #update_attributes

Instance Method Details

#to_sObject



10
11
12
# 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