MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / HandlesCode

Method HandlesCode

internal/fixable/fixable.go:36–38  ·  view source on GitHub ↗

HandlesCode returns true if this fixable handles the given error code.

(code int32)

Source from the content-addressed store, hash-verified

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

Callers 1

ByErrorCodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected