MCPcopy Create free account
hub / github.com/Haivision/srt / geterror_desc

Function geterror_desc

srtcore/api.cpp:4845–4849  ·  view source on GitHub ↗

Get error string of a given error code

Source from the content-addressed store, hash-verified

4843
4844// Get error string of a given error code
4845const char* geterror_desc(int code, int err)
4846{
4847 srt::CUDTException e(CodeMajor(code / 1000), CodeMinor(code % 1000), err);
4848 return (e.getErrorMessage());
4849}
4850
4851int bstats(SRTSOCKET u, SRT_TRACEBSTATS* perf, bool clear)
4852{

Callers

nothing calls this directly

Calls 3

CodeMajorEnum · 0.85
CodeMinorEnum · 0.85
getErrorMessageMethod · 0.80

Tested by

no test coverage detected