| 970 | } |
| 971 | |
| 972 | string ScriptGetExceptionInfo() |
| 973 | { |
| 974 | asIScriptContext *ctx = asGetActiveContext(); |
| 975 | if (!ctx) |
| 976 | return ""; |
| 977 | |
| 978 | const char *msg = ctx->GetExceptionString(); |
| 979 | if (msg == 0) |
| 980 | return ""; |
| 981 | |
| 982 | return string(msg); |
| 983 | } |
| 984 | |
| 985 | void RegisterExceptionRoutines(asIScriptEngine *engine) |
| 986 | { |
nothing calls this directly
no test coverage detected