You can probably make that work, but why not put the method in a %CSP.REST class to start with and have the CSP page call it? That seems more in line with the way those things are meant to be used.
On whichever answers you want to mark as an answer, click the check mark next to the reply button. That should mark that reply as an answer.
$SYSTEM.Status.GetErrorText(tSC) will work.
Log in or create a new account to continue