NAME

RapidApp::Responder::UserError

DESCRIPTION

This "responder" takes advantage of the existing error-displaying codepaths in RapidApp to (possibly) interrupt the current AJAX request and display the message to the user.

See RapidApp::Sugar for the "die usererr" syntax.

See RapidApp::View::JSON for the logic this module ties into.