Class: ProsperWorks::Errors::Base
- Inherits:
-
Object
- Object
- ProsperWorks::Errors::Base
- Defined in:
- lib/prosperworks/errors/base.rb
Direct Known Subclasses
BadRequest, Forbidden, NotFound, RateLimit, ServerError, Unauthorized, Unprocessable
Class Method Summary collapse
Class Method Details
.msg ⇒ Object
9 10 11 |
# File 'lib/prosperworks/errors/base.rb', line 9 def self.msg raise "NotImplemented: Subclass must define msg" end |
.status_code ⇒ Object
5 6 7 |
# File 'lib/prosperworks/errors/base.rb', line 5 def self.status_code raise "NotImplemented: Subclass must define status code" end |