How to add error messages in "textlabels" when the "contentproviderservice" fails to find the asset that should be in place

Now that I understand how to use ContentProvider
here’s my question: How do I add error messages to a “textlabel” if “ContentProvider” can’t find a specific asset? Could you show a sample of what it would have to be like?

after some time i came to the conclusion of what was to do. If you still wanted to answer I accept but I already know how to do it.