Method: Common::Client::Middleware::Response::RaiseCustomError#initialize
- Defined in:
- lib/common/client/middleware/response/raise_custom_error.rb
#initialize(app, options = {}) ⇒ RaiseCustomError
Returns a new instance of RaiseCustomError.
12 13 14 15 16 |
# File 'lib/common/client/middleware/response/raise_custom_error.rb', line 12 def initialize(app, = {}) # set the error prefix to something like 'RX' or 'SM' @error_prefix = [:error_prefix] || 'VA' super(app) end |