Sha256: ced4d60dfc77a38f25067fe84afdff291f7277bc6b96e160dbc2061d4006ee85

Contents?: true

Size: 765 Bytes

Versions: 4

Compression:

Stored size: 765 Bytes

Contents

# frozen_string_literal: true

# -----------------------------------------------------------------------------
#
# Error classes for RGeo
#
# -----------------------------------------------------------------------------

module RGeo
  # All RGeo errors are members of this namespace.

  module Error
    # Base class for all RGeo-related exceptions
    class RGeoError < RuntimeError
    end

    # RGeo error specific to the GEOS implementation.
    class GeosError < RGeoError
    end

    # The specified geometry is invalid
    class InvalidGeometry < RGeoError
    end

    # The specified operation is not supported or not implemented
    class UnsupportedOperation < RGeoError
    end

    # Parsing failed
    class ParseError < RGeoError
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rgeo-2.4.0 lib/rgeo/error.rb
rgeo-2.3.1 lib/rgeo/error.rb
rgeo-2.3.0 lib/rgeo/error.rb
rgeo-2.2.0 lib/rgeo/error.rb