module YandexImageModeration::Error

Error messages that can be raised by this gem. To catch any related error message, use Error::Base.

begin
  ...
rescue YandexImageModeration::Error::Base => e
  puts "YandexImageModeration Error: #{e.message}"
end