HandlesCode returns true if this fixable handles the given error code.
(code int32)
| 34 | |
| 35 | // HandlesCode returns true if this fixable handles the given error code. |
| 36 | func (f *Fixable) HandlesCode(code int32) bool { |
| 37 | return slices.Contains(f.ErrorCodes, code) |
| 38 | } |