zertico/api-client

View on GitHub
lib/api-client/exceptions/not_found.rb

Summary

Maintainability
A
0 mins
Test Coverage
# 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