Nitro.CompilationException Class Reference

Detailed Description

Represents an error in the compilation of some nitro code.

Inheritance diagram for Nitro.CompilationException:
Nitro.ReferenceError

Public Member Functions

 CompilationException (string errorMessage)
 Creates a new compilation exception with the given line number the error occured on and a message to show. More...
 
override string ToString ()
 

Public Attributes

int LineNumber =-1
 The line number the error occurred on. More...
 

Constructor & Destructor Documentation

Nitro.CompilationException.CompilationException ( string  errorMessage)
inline

Creates a new compilation exception with the given line number the error occured on and a message to show.

Parameters
lineNumberThe line number the error occured on.
errorMessageA message stating why this error has occured.

Member Function Documentation

override string Nitro.CompilationException.ToString ( )
inline

Member Data Documentation

int Nitro.CompilationException.LineNumber =-1

The line number the error occurred on.