Sha256: 06940f434755d6738b1c1cf51ad36abc6b6dcedbb6aff0ba5d3a76b69e429068
Contents?: true
Size: 693 Bytes
Versions: 1
Compression:
Stored size: 693 Bytes
Contents
# frozen_string_literal: true module BitBucket module Error class BitBucketError < StandardError attr_reader :response_message, :response_headers def initialize(message) super message @response_message = message end # def inspect # %(#<#{self.class}>) # end end end # Error end # BitBucket %w[ service_error not_found forbidden bad_request unauthorized service_unavailable internal_server_error unprocessable_entity client_error invalid_options required_params unknown_value bad_events no_events blank_value ].each do |error| require "bitbucket_rest_api/error/#{error}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitbuckets-0.2.0 | lib/bitbucket_rest_api/error.rb |