AstGen: update @errorCast to maybe eval to err
Consequently, `AstGen.ret()` now passes the error code to
`.defer_error_code`. Previously, the error union value was passed.
closes #20371
7a4d69983aMichael Dusan committed on 9/3/2024, 9:56:23 PM· committed by Matthew Luggparent242d268