Exception: Otto::UnauthorizedError

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/otto/errors.rb

Overview

Unauthorized (401) error

Use when authentication is required but missing or invalid

Class Method Summary collapse

Class Method Details

.default_log_levelObject



49
50
51
# File 'lib/otto/errors.rb', line 49

def self.default_log_level
  :info
end

.default_statusObject



45
46
47
# File 'lib/otto/errors.rb', line 45

def self.default_status
  401
end