Sha256: 98352a9ad0cd7c49e7b347dae409daa7b68fc87ca231ed5478c19bb2f65d87df
Contents?: true
Size: 496 Bytes
Versions: 49
Compression:
Stored size: 496 Bytes
Contents
# encoding: utf-8 module Github #:nodoc # Raised when Github returns the HTTP status code 404 module Error class ClientError < GithubError attr_reader :problem, :summary, :resolution def initialize(message) super(message) end def generate_message(attributes) "\nProblem:\n #{attributes[:problem]}"+ "\nSummary:\n #{attributes[:summary]}"+ "\nResolution:\n #{attributes[:resolution]}" end end end # Error end # Github
Version data entries
49 entries across 49 versions & 1 rubygems