Quake II RTX doxygen  1.0 dev
error.c File Reference
#include "shared/shared.h"
#include "common/error.h"

Go to the source code of this file.

Functions

const char * Q_ErrorString (qerror_t error)
 

Variables

static const char *const error_table []
 
static const int num_errors = q_countof(error_table)
 

Function Documentation

◆ Q_ErrorString()

Variable Documentation

◆ error_table

const char* const error_table[]
static
Initial value:
= {
"Unspecified error",
"Unknown file format",
"Invalid file format",
"Bad lump extent",
"Odd lump size",
"Too many elements",
"Too few elements",
"Index out of range",
"Invalid quake path",
"File name too short",
"Unexpected end of file",
"File too small",
"Not a regular file",
"Bad run length packet",
"String truncation avoided",
"Runaway loop avoided",
"Infinite loop avoided",
"Library error",
"Out of slots",
}

Definition at line 22 of file error.c.

Referenced by Q_ErrorString().

◆ num_errors

const int num_errors = q_countof(error_table)
static

Definition at line 49 of file error.c.

Referenced by Q_ErrorString().

error_table
static const char *const error_table[]
Definition: error.c:22
num_errors
static const int num_errors
Definition: error.c:49