ArkScript
A small, fast, functional and scripting language for video games
Exceptions.hpp File Reference

ArkScript homemade exceptions. More...

#include <exception>
#include <string>
#include <vector>
#include <stdexcept>
#include <Ark/VM/Value.hpp>
+ Include dependency graph for Exceptions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ark::TypeError
 A type error triggered when types don't match. More...
 
class  Ark::ZeroDivisionError
 A special zero division error triggered when a number is divided by 0. More...
 
class  Ark::PowError
 A pow error triggered when we can't do a pow b. More...
 
class  Ark::AssertionFailed
 An assertion error, only triggered from ArkScript code through (assert expr error-message) More...
 
class  Ark::SyntaxError
 SyntaxError thrown by the lexer. More...
 
class  Ark::ParseError
 ParseError thrown by the parser. More...
 
class  Ark::OptimizerError
 OptimizerError thrown by the AST optimizer. More...
 
class  Ark::MacroProcessingError
 MacroProcessingError thrown by the compiler. More...
 
class  Ark::CompilationError
 CompilationError thrown by the compiler. More...
 

Namespaces

 Ark
 

Detailed Description

ArkScript homemade exceptions.

Author
Alexandre Plateau (lexpl.nosp@m.t.de.nosp@m.v@gma.nosp@m.il.c.nosp@m.om), Max (madst.nosp@m.k1@p.nosp@m.m.me)
Version
0.2
Date
2020-10-27

Definition in file Exceptions.hpp.