Sha256: 0ec4b244e46ceee6914432ffe4d89aa28086d7ec5d89f96fb4c24f951a11fd3d

Contents?: true

Size: 535 Bytes

Versions: 3

Compression:

Stored size: 535 Bytes

Contents

module GoogleTranslate
  
  # Invalid language (or more specifically not one in existing list)
  class InvalidLanguage < Exception
  end
  
  # no response returned to request
  class GoogleUnavailable < Exception
  end
  
  # the status of the response indicates an error
  class GoogleException < Exception
  end
  
  # the detection of the language is deemed unreliable by google.
  class UnreliableDetection < Exception
  end
  
  # if no string is furnished for translation or detection
  class NoGivenString < Exception
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
crutch-google_translate-0.0.3 lib/google_translate/exceptions.rb
crutch-google_translate-0.0.4 lib/google_translate/exceptions.rb
elisehuard-google_translate-0.0.3 lib/google_translate/exceptions.rb