Click or drag to resize

CompilerError Constructor (String, LexicalInfo, String, Exception)

Initializes a new instance of the CompilerError class.

Namespace:  Syntactik.Compiler
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public CompilerError(
	string code,
	LexicalInfo lexicalInfo,
	string message,
	Exception cause
)

Parameters

code
Type: SystemString
String id of the error.
lexicalInfo
Type: Syntactik.DOMLexicalInfo
Location of the source code that caused the error.
message
Type: SystemString
Description of the error.
cause
Type: SystemException
Exception that caused the error.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf parameter lexicalInfo is null.
See Also