On Error Calls

making both on error calls response similarly