|Subject:||Maypole Status Codes|
Maypole::Constants defines both ERROR and DECLINED as -1. From the mod_perl point of view, -1 is correctly defined as DECLINED. When Maypole returns ERROR, the value is returned as the status code from the handler. mod_perl sees this as DECLINED and attempts to invoke another handler. It would probably be better were ERROR to be defined as 500 (HTTP SERVER_ERROR status).