Exception: HTTPError

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

Direct Known Subclasses

ClientError

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.code ⇒ Object



4
5
6
# File 'lib/exceptions.rb', line 4

def self.code
  @code
end

Instance Method Details

#code ⇒ Object



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

def code
   self.class.code
end