Sha256: 60368a672ae4d424a46bed315c5e8fe5d332b8305452217be3c42b13f636189c

Contents?: true

Size: 918 Bytes

Versions: 1

Compression:

Stored size: 918 Bytes

Contents

module GDAL
  class CreateFail < StandardError
  end

  class Error < ::RuntimeError
  end

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

  class InvalidBandNumber < StandardError
  end

  class InvalidColorTable < StandardError
  end

  class InvalidDriverIndex < StandardError
  end

  class InvalidDriverName < StandardError
  end

  class InvalidRasterBand < StandardError
  end

  class NoWriteAccess < RuntimeError
  end

  class NullObject < TypeError
  end

  class RequiredBandNotFound < StandardError
  end

  class UnknownGridAlgorithm < StandardError
    def initialize(algorithm, msg = nil)
      message = msg || "Unknown Grid algorithm type '#{algorithm}'."
      super(message)
    end
  end

  class UnsupportedOperation < StandardError
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta4 lib/gdal/exceptions.rb