Sha256: 46cebdfee313c9f172c41aa07980d9f0d468cff3426ad6c5c93de016ddc8f0e7

Contents?: true

Size: 286 Bytes

Versions: 7

Compression:

Stored size: 286 Bytes

Contents

require File.join(File.dirname(__FILE__), 'blockscore_error')

module BlockScore
  class NotFoundError < BlockscoreError

    @@http_status = 404

    def initialize(message=nil, json_body=nil, error_type=nil)
      super(message, json_body, @@http_status, error_type)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blockscore-4.0.0 lib/blockscore/error/not_found_error.rb
blockscore-3.0.1 lib/blockscore/error/not_found_error.rb
blockscore-3.0.0 lib/blockscore/error/not_found_error.rb
blockscore-2.1.2 lib/blockscore/error/not_found_error.rb
blockscore-2.1.1 lib/blockscore/error/not_found_error.rb
blockscore-2.1.0 lib/blockscore/error/not_found_error.rb
blockscore-2.0.1 lib/blockscore/error/not_found_error.rb