Callbacks Documentation

data-error-callback[+]

A JavaScript function you should provide, which will be invoked when an error is received from the backend. This function must accept 2 parameters, an error code and an error string.