Exception: ApiClient::Exceptions::Unauthorized

Inherits:
Generic
  • Object
show all
Defined in:
lib/api-client/exceptions/unauthorized.rb

Overview

Exception for a Unauthorized Response ( Status Code : 401 ). The request requires user authentication.

Class Method Summary collapse

Class Method Details

.initializeUnauthorized

Initialize a new exception.

Returns:


7
8
9
# File 'lib/api-client/exceptions/unauthorized.rb', line 7

def self.initialize
  super('Authentication Required!')
end