class ApiClient::Exceptions::Unauthorized

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

Public Class Methods

initialize() click to toggle source

Initialize a new exception.

@return [Unauthorized] a new exception.

# File lib/api-client/exceptions/unauthorized.rb, line 7
def self.initialize
  super('Authentication Required!')
end