What does the error mean?

Though I have wrote "On Error Resume Next" line at the beginning of function. Now its fixed.