Sha256: 433b5dd62fe75927db76f405f971c9769abe778680429b73b94482ab55ed88a5

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

module GDAL
  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 CPLErrFailure < StandardError
  end

  class CreateFail < StandardError
  end

  class RequiredBandNotFound < StandardError
  end

  class InvalidBandNumber < StandardError
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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