Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby_odata / lib / ruby_odata / exceptions.rb
Size: Mime:
module OData
  # Raised when a user attempts to do something that is not supported
  class NotSupportedError < StandardError; end
  # Raised when the service returns an error
  class ServiceError < StandardError
    attr_reader :http_code
    def initialize(code)
      @http_code = code
    end
  end
end