rename error?() as invoke_failed?().