public IndentationError(message as String = "Indentation error")
Creates an indentation diagnostic.
| Parameter | Description |
|---|---|
message | Description of the invalid indentation or missing block. |
error = IndentationError("Expected an indented block")
assert error is SyntaxError