Errors with code and properties