Sha256: afc2d809b4bd8445af91612a914534148ed7513decea78828bd3101798bc28fe

Contents?: true

Size: 365 Bytes

Versions: 18

Compression:

Stored size: 365 Bytes

Contents

# Exception for a Not Found Response ( Status Code : 404 ).
# The server has not found anything matching the Request-URI.
class ApiClient::Exceptions::NotFound < ApiClient::Exceptions::Generic
  # Initialize a new exception.
  #
  # @return [NotFound] a new exception.
  def self.initialize(url)
    super("The requested url (#{url}) could not be found!")
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
api-client-3.1.0 lib/api-client/exceptions/not_found.rb
api-client-3.0.0 lib/api-client/exceptions/not_found.rb
api-client-2.7.0 lib/api-client/exceptions/not_found.rb
api-client-2.6.0 lib/api-client/exceptions/not_found.rb
api-client-2.5.0 lib/api-client/exceptions/not_found.rb
api-client-2.5.0.rc1 lib/api-client/exceptions/not_found.rb
api-client-2.4.0 lib/api-client/exceptions/not_found.rb
api-client-2.3.0 lib/api-client/exceptions/not_found.rb
api-client-2.2.0 lib/api-client/exceptions/not_found.rb
api-client-2.1.0 lib/api-client/exceptions/not_found.rb
api-client-2.0.3 lib/api-client/exceptions/not_found.rb
api-client-2.0.2 lib/api-client/exceptions/not_found.rb
api-client-2.0.1 lib/api-client/exceptions/not_found.rb
api-client-2.0.0 lib/api-client/exceptions/not_found.rb
api-client-2.0.0.rc2 lib/api-client/exceptions/not_found.rb
api-client-2.0.0.rc1 lib/api-client/exceptions/not_found.rb
api-client-1.10.0 lib/api-client/exceptions/not_found.rb
api-client-1.9.1 lib/api-client/exceptions/not_found.rb