Sha256: 9ec236ab1e97e811e8ae4b9b4535054425db21423ba65299208dee24c2bb9ae7
Contents?: true
Size: 608 Bytes
Versions: 4
Compression:
Stored size: 608 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 client_error invalid_options required_params unknown_value ].each do |error| require "github_api/error/#{error}" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
github_api-0.6.3 | lib/github_api/error.rb |
github_api-0.6.2 | lib/github_api/error.rb |
github_api-0.6.1 | lib/github_api/error.rb |
github_api-0.6.0 | lib/github_api/error.rb |