OpenTTD Source 20250522-master-g467f832c2f
error.cpp File Reference

Reporting of errors. More...

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

Go to the source code of this file.

Functions

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

Detailed Description

Reporting of errors.

Definition in file error.cpp.

Function Documentation

◆ AssertFailedError()

void AssertFailedError ( std::string_view  expression,
const std::source_location  location 
)

Definition at line 19 of file error.cpp.

◆ NOT_REACHED()

void NOT_REACHED ( const std::source_location  location)

Definition at line 14 of file error.cpp.