Is returns whether two errors are interrupt errors.
(target error)
| 2176 | |
| 2177 | // Is returns whether two errors are interrupt errors. |
| 2178 | func (ie InterruptError) Is(target error) bool { |
| 2179 | return target.Error() == ie.Error() |
| 2180 | } |
| 2181 | |
| 2182 | var ( |
| 2183 | // pool of var folders to reduce allocations during folds. |