Exception: Pike13::ServerError

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

Overview

Raised when server error occurs (HTTP 5xx)

Examples:

begin
  client.desk.people.all
rescue Pike13::ServerError => e
  puts "Server error: #{e.http_status}"
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