Sha256: f6ee0af7137c0c3559c7efd519658d04a4907485c14da791149f93603b85d4d4
Contents?: true
Size: 487 Bytes
Versions: 17
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true module ONEAccess module Error class APIError < StandardError attr_reader :http_status_code attr_reader :api_status_code attr_reader :api_status_message def initialize(http_status_code, api_status_code, api_status_message) @http_status_code = http_status_code @api_status_code = api_status_code @api_status_message = api_status_message super(api_status_message) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems