return codes are now an enum
fixup! 8c83ef20
fixup! 790b0afe
fixup! 6157fd47