Sha256: 03f4665c094846a4b598347cd8992b77210d20a60736c2376a468cee0f59935e
Contents?: true
Size: 541 Bytes
Versions: 2
Compression:
Stored size: 541 Bytes
Contents
# encoding: utf-8 module Github module Error class GithubError < StandardError attr_reader :response_message, :response_headers def initialize(message) super message @response_message = message end # def inspect # %(#<#{self.class}>) # end end end # Error end # Github %w[ service_error not_found forbidden bad_request unauthorized service_unavailable internal_server_error unprocessable_entity ].each do |error| require "github_api/error/#{error}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github_api-0.4.6 | lib/github_api/error.rb |
github_api-0.4.5 | lib/github_api/error.rb |