TomlNotATableException class
An exception which is thrown when the parent element of a table is not a table or array of tables.
Example:
[a]
b = 1
[a.b.c]
d = 2
throws a TomlNotATableException because a.b.c
fails to create a
sub-table of a.b
which is an integer rather than a table.
- Inheritance
-
- Object
- TomlException
- TomlNotATableException
- Annotations
-
- @immutable
Constructors
- TomlNotATableException(TomlKey name)
- Creates a new exception for a table with the given name.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- message → String
-
A human readable description of the error.
no setteroverride
- name → TomlKey
-
The name of the table which could not be created because its parent
is not a table.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override