What is meant by PARSER FUNCTION FAILED?

Database

What is meant by PARSER FUNCTION FAILED?

I have created a UDF but it is throwing run time error : 7813

Can any anyone explain why is this caused?