Error handling on c04