llm,readline: use errors.Is instead of simple == check (#3161)
This fixes some brittle, simple equality checks to use errors.Is. Since
go1.13, errors.Is is the idiomatic way to check for errors.
Co-authored-by:
Jeffrey Morgan <jmorganca@gmail.com>
Showing
Please register or sign in to comment