Page 1 of 1

Feature Request nuDisplayError with error Status

Posted: Wed Jun 03, 2020 6:57 am
by ARWEN
Hi,

In PHP, I would have

Code: Select all

nuDisplayError('This is an error!', 1);

Code: Select all

nuDisplayError('That is another error!', 2);
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

Code: Select all

if (errorStatus() == '1') {

}
Knowning the status, I would have a different case handling, depending on the error.

Is this something that can be added?

Re: Feature Request nuDisplayError with error Status

Posted: Thu Jun 18, 2020 6:20 am
by ARWEN
Steven, what do you think?

Re: Feature Request nuDisplayError with error Status

Posted: Thu Apr 08, 2021 11:33 am
by ARWEN
Hi, any news on that?