Pkg::CallbackSourceCreateError — Register callback function
void
CallbackSourceCreateError
( |
string
func
) ; |
func
Name of the callback handler function. Required callback prototype is string(string url, string err_code, string description). err_code is "NO_ERROR", "NOT_FOUND" (the URL was not found), "IO" (I/O error) or "INVALID" (the source is not valid). The callback function must return "ABORT" or "RETRY". The callback function is evaluated when an error occurrs during creation of the source.