Implement error handling for jade compiler.