Exception: Deis::AuthorizationError

Inherits:
ClientError show all
Defined in:
lib/deis_client.rb

Overview

the following two errors are just convenience for better rescuing

Instance Attribute Summary

Attributes inherited from Error

#data, #message, #status

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, data = nil) ⇒ AuthorizationError

Returns a new instance of AuthorizationError.



20
21
22
# File 'lib/deis_client.rb', line 20

def initialize(message = nil, data = nil)
  super(401, message, data)
end