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

#codeObject Also known as: status



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

def code; self.class.code; end

#descriptionObject



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

def description; self.class.description; end

#nameObject



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

def name; self.class.name; end