layerErrors property
A dictionary of layers that could not be taken offline.
Iterate through the dictionary to examine the error strings to determine why the layers failed to be taken offline.
Implementation
Map<Layer, ArcGISException> get layerErrors => _layerErrors.value;