Exception: BlockScore::AuthorizationError

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

Constant Summary collapse

@@http_status =
401

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) ⇒ AuthorizationError

Returns a new instance of AuthorizationError.



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

def initialize(message=nil, json_body=nil, error_type=nil)

  super(message, json_body, @@http_status, error_type)
end