Mongrel2::

ControlError

class
Superclass
Mongrel2::Exception

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

anchor
new( code, message )

Set the error code in addition to the message.

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