We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a793d77 commit 410e870Copy full SHA for 410e870
1 file changed
MDX2JSON/AbstractREST.cls.xml
@@ -239,13 +239,16 @@ Issue an '500' error and give some indication as to what occurred.<br>
239
<b>pStatus</b> - %status, not %Exception.AbstractException.]]></Description>
240
<ClassMethod>1</ClassMethod>
241
<FormalSpec>pStatus:%Exception.AbstractException</FormalSpec>
242
+<ReturnType>%Status</ReturnType>
243
<Implementation><![CDATA[
244
// we are expecting status
245
#; Set the response Http status
246
Set %response.Status="500 Internal Server Error"
247
248
#; Return a helpful error string
249
Write "{""Error"":"_$$$ZENJSSTR($System.Status.GetErrorText(pStatus,%session.Language))_"}"
250
+
251
+ Quit $$$OK
252
]]></Implementation>
253
</Method>
254
0 commit comments