Sha256: 67c7c48c3d331c5c9f497a0ffa98ef33caaa65f2004a63828a1bf16a21cf6f04
Contents?: true
Size: 376 Bytes
Versions: 21
Compression:
Stored size: 376 Bytes
Contents
module Parliament # A parent class that standardises the error message generated for network errors. # # @see Parliament::ClientError # @see Parliament::ServerError # # @since 0.6.0 class NetworkError < StandardError def initialize(url, response) super("#{response.code} HTTP status code received from: #{url} - #{response.message}") end end end
Version data entries
21 entries across 21 versions & 1 rubygems