I'm trying to develop new Web part and that was I've found. Following code works well:
===
Function getContent(xmlndPart)
...
on error resume next
err.Raise 6
if err.number <> 0 then
...
===
and following one fails with "Script Execution Error: Overflow":
===
Function getContent(xmlndPart)
...
dim strUser
strUser = Factory.Properties.Item("LOGON_USER"
on error resume next
err.Raise 6
if err.number <> 0 then
...
===
It looks like after having get Factory object property, I'm unable to handle errors using ON ERROR statement.
What's wrong?
Thanks in advance.
===
Function getContent(xmlndPart)
...
on error resume next
err.Raise 6
if err.number <> 0 then
...
===
and following one fails with "Script Execution Error: Overflow":
===
Function getContent(xmlndPart)
...
dim strUser
strUser = Factory.Properties.Item("LOGON_USER"
on error resume next
err.Raise 6
if err.number <> 0 then
...
===
It looks like after having get Factory object property, I'm unable to handle errors using ON ERROR statement.
What's wrong?
Thanks in advance.