FMTCBrowsingErrorType enum
Defines the type of issue that a FMTCBrowsingError is reporting
See explanation and resolution for more information about each type. FMTCBrowsingError.message is formed from the concatenation of these two properties.
Constructors
- FMTCBrowsingErrorType(String explanation, String resolution)
-
Defines the type of issue that a FMTCBrowsingError is reporting
const
Values
- missingInCacheOnlyMode → const FMTCBrowsingErrorType
-
Failed to load the tile from the cache because it was missing
Ensure that tiles are cached before using CacheBehavior.cacheOnly.
const FMTCBrowsingErrorType('Failed to load the tile from the cache because it was missing.', 'Ensure that tiles are cached before using `CacheBehavior.cacheOnly`.')
- noConnectionDuringFetch → const FMTCBrowsingErrorType
-
Failed to load the tile from the cache or the network because it was missing from the cache and a connection to the server could not be established
Check your Internet connection.
const FMTCBrowsingErrorType('Failed to load the tile from the cache or the network because it was ' 'missing from the cache and a connection to the server could not be ' 'establish…
- unknownFetchException → const FMTCBrowsingErrorType
-
Failed to load the tile from the cache or network because it was missing from the cache and there was an unexpected error when requesting from the server
Try specifying a normal HTTP/1.1
IOClient
when using FMTCStore.getTileProvider. Check that theTileLayer.urlTemplate
is correct, that any necessary authorization data is correctly included, and that the server serves the viewed region.const FMTCBrowsingErrorType('Failed to load the tile from the cache or network because it was missing ' 'from the cache and there was an unexpected error when requesting from ' 'th…
- negativeFetchResponse → const FMTCBrowsingErrorType
-
Failed to load the tile from the cache or the network because it was missing from the cache and the server responded with a HTTP code other than 200 OK
Check that the
TileLayer.urlTemplate
is correct, that any necessary authorization data is correctly included, and that the server serves the viewed region.const FMTCBrowsingErrorType('Failed to load the tile from the cache or the network because it was ' 'missing from the cache and the server responded with a HTTP code other ' 'than …
- invalidImageData → const FMTCBrowsingErrorType
-
Failed to load the tile from the network because it responded with an HTTP code of 200 OK but an invalid image data
Your server may be misconfigured and returning an error message or blank response under 200 OK. Check that the
TileLayer.urlTemplate
is correct, that any necessary authorization data is correctly included, and that the server serves the viewed region.const FMTCBrowsingErrorType('Failed to load the tile from the network because it responded with an ' 'HTTP code of 200 OK but an invalid image data.', 'Your server may be misconfig…
Properties
- explanation → String
-
A user-friendly English description of this exception, suitable for UI
display
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- resolution → String
-
Guidance (in user-friendly English) for how this exception might be
resolved, or at least a first debugging step
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
FMTCBrowsingErrorType> - A constant List of the values in this enum, in order of their declaration.