View Source Geometry.DecodeError exception (Geometry v0.4.0)

Raised when the decoding of a geometry fails.

Link to this section Summary

Link to this section Types

@type byte_offset() :: pos_integer()
@type line() :: pos_integer()
@type t() :: %Geometry.DecodeError{
  __exception__: true,
  from: :wkb | :wkt | :geo_json,
  line: {line(), byte_offset()},
  message: String.t() | nil,
  offset: byte_offset(),
  reason: atom(),
  rest: binary()
}