>Yes, it may indicate an error. How can I send the error to the caller?

it's unexpected - it should at least log a warning (which will act as a comment in the code too).
I think it should throw an error, which will get passed back to the client (esp), which should handle..