klyn.IndentationError.IndentationError
constructor
public IndentationError(message as String = "Indentation error")
Description

Creates an indentation diagnostic.

Parameters
ParameterDescription
messageDescription of the invalid indentation or missing block.
Example
error = IndentationError("Expected an indented block")
assert error is SyntaxError