Sha256: f954de87f432544a6cea4c90b1d960b3a90e1a8f0ca9c05e80642f793e8de8ba
Contents?: true
Size: 822 Bytes
Versions: 7
Compression:
Stored size: 822 Bytes
Contents
module UniversalGitClient module Errors class HttpError < StandardError attr_reader :response def initialize(msg, response) @response = response super(msg) end end class ClientError < HttpError; end class ServerError < HttpError; end class BadRequest < ClientError; end class Unauthorized < ClientError; end class Forbidden < ClientError; end class NotFound < ClientError; end class MethodNotAllowed < ClientError; end class NotAcceptable < ClientError; end class Conflict < ClientError; end class UnsupportedMediaType < ClientError; end class UnprocessableEntity < ClientError; end class InternalServerError < ServerError; end class BadGateway < ServerError; end class ServiceUnavailable < ServerError; end end end
Version data entries
7 entries across 7 versions & 1 rubygems