Error handling

Handle common errors in maps.

USAGE

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.

DATASET

STYLE