FMTCBrowsingError constructor

  1. @internal
FMTCBrowsingError({
  1. required FMTCBrowsingErrorType type,
  2. required String networkUrl,
  3. required String matcherUrl,
  4. Request? request,
  5. StreamedResponse? response,
  6. Object? originalError,
})

An Exception indicating that there was an error retrieving tiles to be displayed on the map

These can usually be safely ignored, as they simply represent a fall through of all valid/possible cases, but you may wish to handle them anyway using FMTCTileProviderSettings.errorHandler.

Use type to establish the condition that threw this exception, and message for a user-friendly English description of this exception. Also see the other properties for more information.

Implementation

@internal
FMTCBrowsingError({
  required this.type,
  required this.networkUrl,
  required this.matcherUrl,
  this.request,
  this.response,
  this.originalError,
}) : message = '${type.explanation} ${type.resolution}';