Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Please define errors #71

Open
hallyn opened this issue Aug 24, 2021 · 1 comment
Open

Please define errors #71

hallyn opened this issue Aug 24, 2021 · 1 comment

Comments

@hallyn
Copy link

hallyn commented Aug 24, 2021

In https://github.com/google/goexpect/blob/master/expect.go#L840 and https://github.com/google/goexpect/blob/master/expect.go#L1224 you return a locally defined error. It would be great if you would define that error as an exported variable so that callers could more cleanly check for it.

@GrimAnEye
Copy link

GrimAnEye commented Sep 1, 2021

Поддерживаю. Периодически возникает непонятная ошибка, а почему - неизвестно
https://github.com/google/goexpect/blob/master/expect.go#L1348

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants