Exception: HaveAPI::Client::Authentication::AuthenticationFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/haveapi/client/authentication/base.rb

Overview

Raise this exception when authentication process fails somewhere outside action execution (in which access forbidden is raised from RestClient).

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ AuthenticationFailed

Returns a new instance of AuthenticationFailed.



8
9
10
11
# File 'lib/haveapi/client/authentication/base.rb', line 8

def initialize(msg)
  super
  @msg = msg
end

Instance Method Details

#messageObject



13
14
15
# File 'lib/haveapi/client/authentication/base.rb', line 13

def message
  @msg
end