as_salRetCode

lsst.ts.salobj.as_salRetCode(value)

Convert an int (or SalRetCode) to a SalRetCode.

Return the original value if no match.