Exception: ABBYY::Cloud::TypeError
- Inherits:
-
TypeError
- Object
- TypeError
- ABBYY::Cloud::TypeError
- Defined in:
- lib/abbyy/cloud/exceptions/type_error.rb
Instance Method Summary collapse
-
#initialize(link, data, details) ⇒ TypeError
constructor
A new instance of TypeError.
Constructor Details
#initialize(link, data, details) ⇒ TypeError
Returns a new instance of TypeError.
5 6 7 8 9 10 11 12 |
# File 'lib/abbyy/cloud/exceptions/type_error.rb', line 5 def initialize(link, data, details) super <<-MESSAGE.gsub(/ +\|/, "") |The data returned by ABBYY Cloud API mismatch its specification | returned data: #{data} | specification: #{link} | details: #{details} MESSAGE end |