Exception: OGR::OpenFailure
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- OGR::OpenFailure
- Defined in:
- lib/ogr/exceptions.rb
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.
65 66 67 68 |
# File 'lib/ogr/exceptions.rb', line 65 def initialize(file, msg = nil) = msg || "Unable to open file '#{file}'. Perhaps an unsupported file format?" super() end |