Exception: RGeoServer::CoverageStore::DataTypeNotExpected

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rgeoserver/coveragestore.rb

Instance Method Summary collapse

Constructor Details

#initialize(data_type) ⇒ DataTypeNotExpected

Returns a new instance of DataTypeNotExpected.



18
19
20
# File 'lib/rgeoserver/coveragestore.rb', line 18

def initialize(data_type)
  @data_type = data_type
end

Instance Method Details

#messageObject



22
23
24
# File 'lib/rgeoserver/coveragestore.rb', line 22

def message
  "The CoverageStore does not not accept the data type '#{@data_type}'."
end