Feature Request nuDisplayError with error Status
Posted: Wed Jun 03, 2020 6:57 am
Hi,
In PHP, I would have
Note the additional 1 and 2. These would be exit status (compare https://www.php.net/manual/en/function.exit.php )
In js, one could query the status
Knowning the status, I would have a different case handling, depending on the error.
Is this something that can be added?
In PHP, I would have
Code: Select all
nuDisplayError('This is an error!', 1);
Code: Select all
nuDisplayError('That is another error!', 2);
In js, one could query the status
Code: Select all
if (errorStatus() == '1') {
}
Is this something that can be added?