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



56
57
58
# File 'lib/otto/errors.rb', line 56

def self.default_log_level
  :info
end

.default_statusObject



52
53
54
# File 'lib/otto/errors.rb', line 52

def self.default_status
  401
end