TomlRedefinitionException class

An exception which is thrown when a table or key is defined more than once.

Example:

a = 1
a = 2

throws a TomlRedefinitionException because a is defined twice.

Inheritance
Annotations
  • @immutable

Constructors

TomlRedefinitionException(TomlKey name)
Creates a new exception for the table or key 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
Fully qualified name of the table or key.
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