DATASET

STYLE

In this example we handle the client error while calling the `addLayer` funciton.

See `refreshLayer` function in the source code for an example on how to handle Promise errors.