goexpect icon indicating copy to clipboard operation
goexpect copied to clipboard

Please define errors

Open hallyn opened this issue 3 years ago • 1 comments

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.

hallyn avatar Aug 24 '21 13:08 hallyn

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

GrimAnEye avatar Sep 01 '21 08:09 GrimAnEye