ENG-5684: error handling.