Sha256: d65b820e783de84bfc08783170873d21c50403bb6102ae7abfc7ea5c6768fcbf
Contents?: true
Size: 383 Bytes
Versions: 8
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true module Concourse module Errors class ApiError < StandardError def initialize(parameters) @request = parameters[:request] @response = parameters[:response] super("Request to #{@request.url} failed " \ "with status #{@response.status} " \ "and body #{@response.body}") end end end end
Version data entries
8 entries across 8 versions & 1 rubygems