Exception: Pancake::Errors::HttpError

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

Direct Known Subclasses

Forbidden, NotAcceptable, NotFound, Server, Unauthorized

Instance Method Summary collapse

Instance Method Details

#code ⇒ Object Also known as: status



8
# File 'lib/pancake/errors.rb', line 8

def code; self.class.code; end

#description ⇒ Object



11
# File 'lib/pancake/errors.rb', line 11

def description; self.class.description; end

#name ⇒ Object



6
# File 'lib/pancake/errors.rb', line 6

def name; self.class.name; end