MCPcopy Create free account
hub / github.com/dgrr/http2 / Is

Method Is

errors.go:75–77  ·  view source on GitHub ↗

Is implements the interface for errors.Is.

(target error)

Source from the content-addressed store, hash-verified

73
74// Is implements the interface for errors.Is.
75func (e Error) Is(target error) bool {
76 return errors.Is(e.code, target)
77}
78
79// Code returns the error code.
80func (e Error) Code() ErrorCode {

Callers 5

ServeMethod · 0.45
readLoopMethod · 0.45
handleHeaderFrameMethod · 0.45
ReadFromMethod · 0.45
ConfigureClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected