OpenTTD Source 20241224-master-gee860a5c8e
error.cpp File Reference

Reporting of errors. More...

#include "stdafx.h"
#include "error_func.h"

Go to the source code of this file.

Functions

void NOT_REACHED (const std::source_location location)
 
void AssertFailedError (const char *expression, const std::source_location location)
 

Detailed Description

Reporting of errors.

Definition in file error.cpp.

Function Documentation

◆ AssertFailedError()

void AssertFailedError ( const char *  expression,
const std::source_location  location 
)

Definition at line 18 of file error.cpp.

◆ NOT_REACHED()

void NOT_REACHED ( const std::source_location  location)

Definition at line 13 of file error.cpp.