Set error status on dispatch error.