Sha256: 9bc061437a2c16b0761300c2276cbd36205c5fdc832b18b99a6272c1c9ee0f93
Contents?: true
Size: 488 Bytes
Versions: 6
Compression:
Stored size: 488 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
6 entries across 6 versions & 1 rubygems