Exception: Transifex::ParametersFormatError

Inherits:
Error
  • Object
show all
Defined in:
lib/tx-ruby/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(parameter, format_expected) ⇒ ParametersFormatError

Returns a new instance of ParametersFormatError.



13
14
15
# File 'lib/tx-ruby/errors.rb', line 13

def initialize(parameter, format_expected)
  super("The following parameter: " + parameter.to_s + " must follow the format: " + format_expected)
end