If I make a call to getEntityById
(or some other API function) in a script, and it errors, will that be handled as a normal Promise rejection for the caller?
Also - in such a case, where should we look in the returned API result for the best description of the error that occurred?