Exception: ABBYY::Cloud::ArgumentError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/abbyy/cloud/exceptions/argument_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(link, arguments, details) ⇒ ArgumentError

Returns a new instance of ArgumentError.



5
6
7
8
9
10
11
12
# File 'lib/abbyy/cloud/exceptions/argument_error.rb', line 5

def initialize(link, arguments, details)
  super <<-MESSAGE.gsub(/ +\|/, "")
    |The arguments of operation mismatch ABBYY Cloud API specification
    |  arguments:     #{arguments}
    |  specification: #{link}
    |  details:       #{details}
  MESSAGE
end