Exception: TableSchema::SchemaException

Inherits:
Exception
  • Object
show all
Defined in:
lib/tableschema/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ SchemaException

Returns a new instance of SchemaException.



7
8
9
# File 'lib/tableschema/exceptions.rb', line 7

def initialize message
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



5
6
7
# File 'lib/tableschema/exceptions.rb', line 5

def message
  @message
end