public TOMLParseException(message as String, line as Int = 1, column as Int = 1):
Creates a TOML syntax error.
| Parameter | Description |
|---|---|
message | Description of the invalid construct. |
line | One-based source line. |
column | One-based source column. |
error = TOMLParseException("Expected a value", 3, 8)
assert error.line == 3