An exception thrown when DartBlock attempts to execute a FunctionCallStatement, where the number of arguments passed to the function call does not match the expected number based on the parameter list of the function.
An exception thrown when DartBlock attempts to execute a FunctionCallStatement, where the relevant ReturnStatement in the function's body returns a value of the wrong type, compared to the expected return type of the function.
An exception thrown when DartBlock attempts to execute a FunctionCallStatement, where one of the argument's value type does not match the corresponding function parameter's type. (based on parameter position/index)
An exception thrown when DartBlock attempts to execute a FunctionCallStatement, where a ReturnStatement is executed as part of the function's body, but the function's return type is 'void'.
An exception thrown when DartBlock attempts to retrieve the value associated with a DartBlockVariable or DartBlockFunctionCallValue, where the type of the retrieved value does not match the expected type.
An exception thrown when DartBlock attempts to calculate the value of an expression, specifically a boolean or numeric expression, where the type of the calculated value does not match the expected type of the expression.
An exception thrown when the JSON decoding via Statement.fromJson fails.
This is not a DartBlockException thrown during a program's execution or shown to the user.
An exception thrown when DartBlock attempts to execute a FunctionCallStatement, where the relevant custom function can not be retrieved based on the given name.
An exception thrown when DartBlock runs into a second VariableDeclarationStatement which is attempting to re-declare an existing statement, based on its name.
An exception thrown when DartBlock attempts to execute a VariableAssignmentStatement, where the type of the value being assigned does not match the type of the variable.