bgs-core icon indicating copy to clipboard operation
bgs-core copied to clipboard

From Wiki: on page "Build your own Backgroud Service", function displayError

Open ericpennachini opened this issue 8 years ago • 1 comments

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

ericpennachini avatar Feb 14 '17 12:02 ericpennachini

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

Red-Folder avatar Feb 15 '17 14:02 Red-Folder