Set the error message for a transaction if it has been denied