Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Feature Request nuDisplayError with error Status

Questions related to using nuBuilder Forte.
Post Reply
ARWEN
Posts: 79
Joined: Thu Nov 01, 2018 6:01 am

Feature Request nuDisplayError with error Status

Unread post 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?
ARWEN
Posts: 79
Joined: Thu Nov 01, 2018 6:01 am

Re: Feature Request nuDisplayError with error Status

Unread post by ARWEN »

Steven, what do you think?
ARWEN
Posts: 79
Joined: Thu Nov 01, 2018 6:01 am

Re: Feature Request nuDisplayError with error Status

Unread post by ARWEN »

Hi, any news on that?
Post Reply