Exception: GDAL::OpenFailure
- Inherits:
-
StandardError
- Object
- StandardError
- GDAL::OpenFailure
- Defined in:
- lib/gdal/exceptions.rb
Overview
CPLE_OpenFailed
Instance Method Summary collapse
-
#initialize(file, msg = nil) ⇒ OpenFailure
constructor
A new instance of OpenFailure.
Constructor Details
#initialize(file, msg = nil) ⇒ OpenFailure
Returns a new instance of OpenFailure.
9 10 11 12 |
# File 'lib/gdal/exceptions.rb', line 9 def initialize(file, msg = nil) = msg || "Unable to open file '#{file}'. Perhaps an unsupported file format?" super() end |