class Mongrel2::ControlError

An exception type raised by Mongrel2::Control requests if they result in an error response.

Attributes

code[R]

The code of the particular kind of control error (a Symbol)

Public Class Methods

new( code, message ) click to toggle source

Set the error code in addition to the message.

Calls superclass method
# File lib/mongrel2/exceptions.rb, line 46
def initialize( code, message )
        @code = code.to_sym
        super( message )
end