Expect standard error code from internal calls