Sets the state of this tile. If you write your own tileLoadFunction ,
it is important to set the state correctly to module:ol/TileState~ERROR
when the tile cannot be loaded. Otherwise the tile cannot be removed from
the tile queue and will block other requests.