Throw Error step

OS info

  • Operating System : Windows 10.0.26200
  • Wappler Version : 7.5.0
  • PHP

Problem description

I am trying to understand the Throw Error step. Here is a simple server connect file that resulted in the following error. Bug?

wappler-throw-error

{
  "code": 0,
  "file": "\\dmxConnectLib\\modules\\core.php",
  "line": 201,
  "message": "message",
  "trace": "#0 \\dmxConnectLib\\lib\\App.php(231): modules\\core-\u003Eerror(Object(stdClass), '', NULL)\n#1 \\dmxConnectLib\\lib\\App.php(171): lib\\App-\u003EexecSteps(Object(stdClass))\n#2 \\dmxConnectLib\\lib\\App.php(121): lib\\App-\u003Eexec(Object(stdClass), false)\n#3 \\dmxConnect\\api\\throw_error.php(7): lib\\App-\u003Edefine(Object(stdClass))\n#4 {main}"
}

Not a bug, it did throw an error with the message "message". Throwing an error without having a try/catch is not very useful however.