Error
Julie Stamp (8365) 474 posts |
Can anyone think of command that when typed at the CLI causes the error handler to be called (e.g. calls OS_GenerateError)? *Error doesn’t fit the bill because it doesn’t generate an error, it just passes it back to OS_CLI. I’m thinking of how *Quit calls the exit handler. It doesn’t have to be a special command like this, I’ve tried things like Copy, Backup etc. but not found anything. |
Jeffrey Lee (213) 6048 posts |
Technically no *Command should raise an error by calling the non-X OS_GenerateError. Instead the command handler should return with V set and R0 containing the error pointer (which OS_CLI will then return). If you want to force an error, |
Julie Stamp (8365) 474 posts |
Thankyou! |