Sha256: 9678824ce03e13e65a471da1eff95b90b03947c9efe3b6dbace8e1e76ad1d748

Contents?: true

Size: 618 Bytes

Versions: 2

Compression:

Stored size: 618 Bytes

Contents

module OGR
  class OpenFailure < RuntimeError
    def initialize(file, msg=nil)
      message = msg || "Unable to open file '#{file}'. Perhaps an unsupported file format?"
      super(message)
    end
  end

  class InvalidLayer < RuntimeError
  end

  class NotEnoughData < RuntimeError
  end

  class NotEnoughMemory < RuntimeError
  end

  class UnsupportedGeometryType < RuntimeError
  end

  class UnsupportedOperation < RuntimeError
  end

  class CorruptData < RuntimeError
  end

  class Failure < RuntimeError
  end

  class UnsupportedSRS < RuntimeError
  end

  class InvalidHandle < RuntimeError
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta3 lib/ogr/exceptions.rb
ffi-gdal-1.0.0.beta1 lib/ogr/exceptions.rb