errWithType is an Err bundled with its error type (a ConstError)
| 59 | |
| 60 | // errWithType is an Err bundled with its error type (a ConstError) |
| 61 | type errWithType struct { |
| 62 | error |
| 63 | errType ConstError |
| 64 | } |
| 65 | |
| 66 | // Is compares `target` with e's error type |
| 67 | func (e *errWithType) Is(target error) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected