Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
exception-error-test.cpp File Reference

unit test ExceptionError_test More...

Go to the source code of this file.

Description

unit test ExceptionError_test

Definition in file exception-error-test.cpp.

#include "lib/error.h"
#include "lib/error.hpp"
#include "lib/test/run.hpp"
#include "lib/format-cout.hpp"
#include "lib/util.hpp"
#include <exception>
#include <stdexcept>
#include <string>

Namespaces

namespace  lumiera
 Lumiera public interface.
 
namespace  lumiera::test
 

Typedefs

using DerivedError = error::LumieraError< LUMIERA_ERROR_DERIVED, error::External >
 define a specific Error subclass derived from error::external
 

Classes

class  ExceptionError_test
 Some aspects of C++ exception handling. More...
 
class  ExceptionError_test::SpecificError
 a very specific Exception class local to this scope and with additional behaviour. More...
 

Functions

 LUMIERA_ERROR_DEFINE (LIFE_AND_UNIVERSE, "and everything?")
 
 LUMIERA_ERROR_DECLARE (DERIVED)
 local specific error-constant for use in the constructor of the nested SpecificError class.
 
 LUMIERA_ERROR_DEFINE (DERIVED, "convoluted exception")
 
 LAUNCHER (ExceptionError_test, "function common")
 register this test class...