Exception: KazeClient::Error::NoPrivateToken

Inherits:
Forbidden show all
Defined in:
lib/kaze_client/error/no_private_token.rb

Overview

403 error sent by Kaze server when trying to log in and user has no token

Author:

Since:

  • 0.1.0

Constant Summary

Constants inherited from Generic

Generic::DEFAULT_MESSAGE

Instance Attribute Summary

Attributes inherited from Generic

#error, #status

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'User has no private token assigned') ⇒ NoPrivateToken

Returns a new instance of NoPrivateToken.

Since:

  • 0.1.0



11
12
13
# File 'lib/kaze_client/error/no_private_token.rb', line 11

def initialize(msg='User has no private token assigned')
  super(msg)
end