Exception: Sharepoint::UnsupportedType

Inherits:
Error
  • Object
show all
Defined in:
lib/sharepoint-errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type_name) ⇒ UnsupportedType

Returns a new instance of UnsupportedType.



26
27
28
# File 'lib/sharepoint-errors.rb', line 26

def initialize type_name
  @type_name = type_name
end

Instance Attribute Details

#type_nameObject

Returns the value of attribute type_name.



24
25
26
# File 'lib/sharepoint-errors.rb', line 24

def type_name
  @type_name
end

Instance Method Details

#messageObject



30
31
32
# File 'lib/sharepoint-errors.rb', line 30

def message
  "unsupported type '#{@type_name}'"
end