Priori and posteriori error