See
document_rejected
in the errors guide
.