There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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.