Files
Aurora.3/code/__HELPERS/stack_trace.dm
Fluffy c86be958de Ported the TG's error handler (#19782)
Ported the TG's error handler system, which allows runtime errors to be
collected in a datum, browsed, and all the good stuffs
2024-08-22 20:46:49 +00:00

6 lines
329 B
Plaintext

/// Gives us the stack trace from CRASH() without ending the current proc.
/// Do not call directly, use the [stack_trace] macro instead.
/// May also be used by other tooling like from rust.
/proc/_stack_trace(message, file, line)
CRASH("[message][WORKAROUND_IDENTIFIER][json_encode(list(file, line))][WORKAROUND_IDENTIFIER]")