Sha256: 60df93cbb5aca1c55ff642aa65f9ed1b973797e17c7af598194b6d10fffbe41a
Contents?: true
Size: 491 Bytes
Versions: 6
Compression:
Stored size: 491 Bytes
Contents
# typed: ignore # Copyright (c) 2015 Sqreen. All Rights Reserved. # Please refer to our terms for more information: https://www.sqreen.com/terms.html module Sqreen module Kit class HttpClient class UnexpectedStatusError < StandardError attr_reader :code, :body def initialize(code, body = nil) @code = code @body = body end def message "Unexpected status #{code}: #{body}" end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems