Implement error callbacks of the compiler interface