Exception: BlockScore::ParameterError

Inherits:
BlockscoreError show all
Defined in:
lib/blockscore/error/parameter_error.rb

Constant Summary collapse

@@http_status =
400

Instance Attribute Summary

Attributes inherited from BlockscoreError

#error_type, #http_status, #json_body, #message

Instance Method Summary collapse

Methods inherited from BlockscoreError

#to_s

Constructor Details

#initialize(message = nil, json_body = nil, error_type = nil) ⇒ ParameterError

Returns a new instance of ParameterError.



8
9
10
# File 'lib/blockscore/error/parameter_error.rb', line 8

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