Fabrique

A build language for complex systems

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
fabrique::WrongTypeException Class Reference

Something is wrong with a fabrique::Type. More...

#include <TypeError.h>

Inheritance diagram for fabrique::WrongTypeException:
fabrique::TypeError fabrique::SemanticException fabrique::SourceCodeException fabrique::HasSource fabrique::Printable

Public Member Functions

 WrongTypeException (const Type &expected, const Type &actual, const SourceRange &)
 
 WrongTypeException (const std::string &expected, const Type &actual, const SourceRange &)
 
 WrongTypeException (const std::string &expected, const std::string &actual, const SourceRange &)
 
 WrongTypeException (const WrongTypeException &)
 
- Public Member Functions inherited from fabrique::TypeError
 TypeError (const std::string &message, const SourceRange &)
 
 TypeError (const TypeError &)
 
- Public Member Functions inherited from fabrique::SemanticException
 SemanticException (const std::string &message, const SourceRange &)
 
 SemanticException (const SemanticException &)
 
- Public Member Functions inherited from fabrique::SourceCodeException
const std::string & message () const
 
virtual const char * what () const noexcept
 
virtual void PrettyPrint (Bytestream &, size_t indent=0) const override
 Print a human-readable representation to an output stream and return that output stream.
 
- Public Member Functions inherited from fabrique::HasSource
 HasSource (const SourceRange &src)
 
const SourceRangesource () const
 
- Public Member Functions inherited from fabrique::Printable
 Printable (const Printable &)
 
Printableoperator= (const Printable &)
 
virtual std::string str () const
 

Additional Inherited Members

- Protected Member Functions inherited from fabrique::SourceCodeException
 SourceCodeException (const std::string &message, const SourceRange &)
 
 SourceCodeException (const SourceCodeException &)
 

Detailed Description

Something is wrong with a fabrique::Type.

Definition at line 53 of file TypeError.h.


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