bgs-core
bgs-core copied to clipboard
From Wiki: on page "Build your own Backgroud Service", function displayError
I've a doubt: in function displayError, parameter e (in cases of errors in callback functions): this parameter has fields inside? For example, message field, or text. @Red-Folder
In short, it really depends what the problem was.
In some cases it may have an object if the is what is returned by the code further down.
If there isn't an object returned by the code further down then e will be the message