Exception: Pike13::NotFoundError

Inherits:
APIError show all
Defined in:
lib/pike13/errors.rb

Overview

Raised when a resource is not found (HTTP 404)

Examples:

begin
  person = client.desk.people.find(999999)
rescue Pike13::NotFoundError => e
  puts "Person not found"
end

Instance Attribute Summary

Attributes inherited from APIError

#http_status, #response_body

Method Summary

Methods inherited from APIError

#initialize

Constructor Details

This class inherits a constructor from Pike13::APIError