Sha256: d061055072e7d09b992113b8a29e35998741da3087301fec41bf3f0f2d814bb7

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

module LongURL
  # Raised by LongURL::Service class if longurl.org service returns unsupported service error.
  class UnsupportedService < Exception
  end

  # Raised by LongURL::Service class if longurl.org service returns a not supported answer.
  class UnknownError < Exception
  end
  
  # Raised by LongURL::Service if supplied url is invalid (nil, empty, ...)
  class InvalidURL < Exception
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jakimowicz-longurl-0.0.1 lib/longurl/exceptions.rb
longurl-0.0.1 lib/longurl/exceptions.rb