Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Static Public Member Functions
ErrorUtils Struct Reference

Description

Definition at line 35 of file ErrorUtils.h.

Static Public Member Functions

static int ShowError (const std::string &title, const std::string &message)
 
static int ShowInfo (const std::string &title, const std::string &message)
 
static int ShowMsgBox (const std::string &title, const std::string &err, int type)
 

Member Function Documentation

◆ ShowError()

int ErrorUtils::ShowError ( const std::string &  title,
const std::string &  message 
)
static

shows a simple error message box

Returns
0 on success, everything else on error

Definition at line 46 of file ErrorUtils.cpp.

◆ ShowInfo()

int ErrorUtils::ShowInfo ( const std::string &  title,
const std::string &  message 
)
static

shows a simple info message box

Returns
0 on success, everything else on error

Definition at line 53 of file ErrorUtils.cpp.

◆ ShowMsgBox()

int ErrorUtils::ShowMsgBox ( const std::string &  title,
const std::string &  err,
int  type 
)
static

shows a generic message box

Parameters
type0 for error, 1 for info
Returns
0 on success, everything else on error

Definition at line 58 of file ErrorUtils.cpp.


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