Unanswered question

Transaction status set manual

Hi NEOTYS community,

Transactions complete wit a status error when e.g. an HTTP 500 error occurs. Is it possible to set a transaction to fail "manual"; using the javascript. API ' I've tried context.fail("fail"); this results in javascript error and also the transaction container is set to the status fail...; but is there "a better solution". Because I don't like the javascript error which is shown ..; check screenshot for more details

Regards,
Arjan

Arjan V.
Arjan V.

Arjan V.

Level
0
15 / 100
points

Answers

christophe M.
christophe M.

christophe M.

Level
4
5000 / 5000
points
Team

I don't see other way to manually fail a Transaction. What is your fail criteria to check if there another way of doing?