refactor error streaming
refactor error streaming

Reviewed By: samwgoldman

Differential Revision: D15466978

fbshipit-source-id: 65b79ab4bd97869424fc67c104ca07c2f6c8e48a

nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow