Sha256: 6df36c5e5eb628ae7661a76f87e029d779cbfd3e109ed0a61833a5b75b58766f

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

class BitnobServerError < StandardError
  attr_reader :response

  def initialize(response: nil)
    @response = response
  end
end

class BitnobBadKeyError < StandardError
end

class PermissionError < StandardError
end

class BadRequestError < StandardError
end

class TooManyRequests < StandardError
end

class NotFoundError < StandardError
end

class IncompleteParameterError < StandardError
end

class UnAuthorizedError < StandardError
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bitnob-0.0.6 lib/bitnob/errors.rb
bitnob-0.0.4.1 lib/bitnob/errors.rb
bitnob-0.0.4 lib/bitnob/errors.rb
bitnob-0.0.3 lib/bitnob/errors.rb