Handle errors from DWR.