<commit_before>module Bunq
  class UnexpectedResponse < StandardError; end
  class AbsentResponseSignature < StandardError; end
  class TooManyRequestsResponse < StandardError; end
  class Timeout < StandardError; end
end<commit_msg>Added custom attributes to UnexpectedResponse.<commit_after>module Bunq
  class UnexpectedResponse < StandardError;
    attr_reader :code
    attr_reader :headers
    attr_reader :body

    def initialize(msg = "Unexpected response", code: nil, headers: nil, body: nil)
      @code = code
      @headers = headers
      @body = body
      super(msg)
    end
  end

  class AbsentResponseSignature < StandardError; end
  class TooManyRequestsResponse < StandardError; end
  class Timeout < StandardError; end
  class Unauthorized < StandardError; end
end
{'fraction_non_alphanumeric': 0.05979643765903308, 'fraction_numerical': 0.0, 'mean_word_length': 4.281879194630872, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3903581', 'n_tokens_mistral': 208, 'n_tokens_neox': 209, 'n_words': 69}