skygear-SDK-JS
skygear-SDK-JS copied to clipboard
Improve example error formatting
Currently we just JSON.stringify(e)
but this expression gives {}
. We should classify instanceof
Error
and SkygearError
to format error with more information.