Class: Weft::HTTPError
Overview
Intermediate carrying an HTTP status. Subclass for status-bearing semantics.
recovers from: Weft::HTTPError catches the whole status-bearing family.
Direct Known Subclasses
Forbidden, InternalError, NotFound, Unauthorized, Unprocessable
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.status ⇒ Object
11 12 13 |
# File 'lib/weft/error.rb', line 11 def self.status nil end |
Instance Method Details
#status ⇒ Object
15 16 17 |
# File 'lib/weft/error.rb', line 15 def status self.class.status end |