Turnstile configurations 'error-callback'

I want to know when ‘error-callback’ is called, and can anyone explain or give example for network error mentioned in documentation.

In my experience despite the description of error-callback it is actually called anytime there is any problem where as a result token does not get set. Anything from network issues to unsolved challenge.