Exception: HttpErrors::HTTPError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/http_errors.rb

Overview

Base class for generating particular auth errors

Class Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ HTTPError

Returns a new instance of HTTPError.



11
12
13
# File 'lib/http_errors.rb', line 11

def initialize(message = nil)
  super
end

Class Attribute Details

.headObject

Returns the value of attribute head.



8
9
10
# File 'lib/http_errors.rb', line 8

def head
  @head
end

.statusObject

Returns the value of attribute status.



7
8
9
# File 'lib/http_errors.rb', line 7

def status
  @status
end