pxp:assert - conditionally output a message or throw an error