Method is defined with ReturnType value but has QUIT or RETURN without arguments.

Noncompliant Code Example

Following code will compile, but on runtime the bar method will fail with "COMMAND error" message.

ClassMethod foo() As %String
{
    Quit
}

ClassMethod bar()
{
    #Dim str As %String = ..foo()
}

Compliant Solution

ClassMethod foo() As %String
{
    Quit "Hello"
}

ClassMethod bar()
{
    #Dim str As %String = ..foo()
}