Error handling on c07