Exception: Pike13::AuthenticationError

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

Overview

Raised when authentication fails (HTTP 401)

Examples:

begin
  client.desk.people.all
rescue Pike13::AuthenticationError => e
  puts "Invalid access token: #{e.message}"
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