promise
an Ajax error response handler. Internal to Json only.
Json.promise(signature, response, reject, false)
an Ajax error response handler. Internal to Json only.
Parameters
-
signature
{Object}Error message setup info
-
response
{function()}AJax data that fetch got
-
reject
{Boolean}otherwise resolve
-
false
{*}
Returns
{Promise}
A Promise resolution or rejection with the data, status