MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / throw_error_at

Method throw_error_at

src/runtime/context.cpp:1023–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021 }
1022
1023 void Context::throw_error_at ( const LineInfo * at, DAS_FORMAT_STRING_PREFIX const char * message, ... ) {
1024 const int PRINT_BUFFER_SIZE = 8192;
1025 char buffer[PRINT_BUFFER_SIZE];
1026 va_list args;
1027 va_start (args, message);
1028 vsnprintf (buffer,PRINT_BUFFER_SIZE,message, args);
1029 va_end (args);
1030 throw_fatal_error(buffer, at ? *at : LineInfo());
1031 }
1032
1033 void Context::throw_error_at ( const LineInfo & at, DAS_FORMAT_STRING_PREFIX const char * message, ... ) {
1034 const int PRINT_BUFFER_SIZE = 8192;

Callers 15

test_das_stringFunction · 0.80
new_and_initFunction · 0.80
CheckEidFunction · 0.80
CheckEidHintFunction · 0.80
testBindEnumFunctionFunction · 0.80
evalByteCodeFunction · 0.80
makeWebSocketServerFunction · 0.80
dasAudio.cppFile · 0.80
dasAudio_chorusInitFunction · 0.80
dasAudio_chorusProcessFunction · 0.80
dasAudio_chorusSetConfigFunction · 0.80
dasAudio_bitcrushInitFunction · 0.80

Calls 1

LineInfoClass · 0.50

Tested by 5

test_das_stringFunction · 0.64
new_and_initFunction · 0.64
CheckEidFunction · 0.64
CheckEidHintFunction · 0.64
testBindEnumFunctionFunction · 0.64