Exception: GoodData::Bam::RemoveMetadataFieldError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/base/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, options = {}) ⇒ RemoveMetadataFieldError

Returns a new instance of RemoveMetadataFieldError.



7
8
9
10
11
12
# File 'lib/base/errors.rb', line 7

def initialize(message, options={})
  super(message)
  @options = options
  @metadata = options[:metadata]
  @field = options[:field]
end

Instance Attribute Details

#fieldObject (readonly)

Returns the value of attribute field.



5
6
7
# File 'lib/base/errors.rb', line 5

def field
  @field
end

#metadataObject (readonly)

Returns the value of attribute metadata.



5
6
7
# File 'lib/base/errors.rb', line 5

def 
  @metadata
end

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/base/errors.rb', line 5

def options
  @options
end