[Bug 1066311] [titanic] implement proper error handling