MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | void runtime_error(string err, string prg, string curobj, int line) |
| 3 | |
| 4 | DESCRIPTION |
| 5 | This function has to announce a runtime error to the active |
| 6 | user. If the user has enough privileges, it might give him the |
| 7 | full error message together with the source line. Else it |
| 8 | should issue a decent message ("Your sensitive mind notices a |
| 9 | wrongness in the fabric of space"). |
| 10 | |
| 11 | Note that prg denotes the program actually executed (which |
| 12 | might be an inherited one) whereas curobj is just the |
| 13 | offending object. |
| 14 | |
| 15 | SEE ALSO |
| 16 | log_error(M), heart_beat_error(M), raise_error(E) |