Blink API
Public Member Functions | Protected Member Functions | Friends | List of all members
Blink::ParseException Class Reference

Exception thrown when attempt to parse kernel fails. More...

#include <Blink.h>

Inheritance diagram for Blink::ParseException:
Blink::CompilationException Blink::Exception Blink::RefHolder

Public Member Functions

int lineNumber () const
 Line number of first error. More...
 
std::string parseError () const
 Error generated if line number is valid.
 

Protected Member Functions

 ParseException (Ref ref)
 

Friends

void TranslateBlinkError (ErrorCode errorCode, ErrorRef errorRef)
 

Additional Inherited Members

Detailed Description

Exception thrown when attempt to parse kernel fails.

Exception when kernel parsing fails. This usually results in the ability to identify the location and cause of the exception.

Member Function Documentation

int Blink::ParseException::lineNumber ( ) const

Line number of first error.

Line number of first parse error. -1 if not known.


The documentation for this class was generated from the following file:


©2019 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk