class Px::Service::ServiceBaseError
Any external service should have its exceptions inherit from this class so that controllers can handle them all nicely with “service is down” pages or whatnot
Attributes
status[RW]
Public Class Methods
new(message, status)
click to toggle source
Calls superclass method
# File lib/px/service/errors.rb, line 9 def initialize(message, status) self.status = status super(message) end