Path error handling.