Error Handling. .cursorrules strategies