Module error

Source
Expand description

This module provides error types and utilities for the mvt-reader crate.

§Errors

The error module defines the following error types:

  • ParserError: Represents an error that occurs during parsing of a vector tile.
  • GeometryError: Represents an error related to the geometry of a feature in a vector tile.
  • TagsError: Represents an error related to the tags of a feature in a vector tile.
  • VersionError: Represents an error related to the version of a vector tile.
  • DecodeError: Represents an error indicating a decoding failure during the parsing of a vector tile.

§Utilities

The error module also provides utility functions and traits for working with errors, such as formatting and error chaining.

Structs§

DecodeError
An error indicating a decoding failure during the parsing of a vector tile.
GeometryError
An error indicating that the geometry section of a vector tile contains errors.
ParserError
A structure representing a parser error.
TagsError
An error indicating that the tags section of a vector tile contains errors.
VersionError
A structure representing a version error in a vector tile.