CallbackException.isCallbackError

This is a marker property that lets any calling code check if the callback result is an Exception.

function OnError(Result)
{
    if (Result.isCallbackError)
    {
        alert(Result.message);
        return;
    }

	// do what you need to with Result
	alert(Result);
}
o.CallbackException.IsCallbackError

See also:

Class CallbackException

© West Wind Technologies, 1996-2022 • Updated: 10/09/17
Comment or report problem with topic