Sha256: b10fa5f77a1598d68f9e4d9770f1fdbb2f444766b5790c7fde4217e5a596deed

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

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

module BlockScore
  class ParameterError < BlockscoreError

    @@http_status = 400

    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/parameter_error.rb
blockscore-3.0.1 lib/blockscore/error/parameter_error.rb
blockscore-3.0.0 lib/blockscore/error/parameter_error.rb
blockscore-2.1.2 lib/blockscore/error/parameter_error.rb
blockscore-2.1.1 lib/blockscore/error/parameter_error.rb
blockscore-2.1.0 lib/blockscore/error/parameter_error.rb
blockscore-2.0.1 lib/blockscore/error/parameter_error.rb