(target error)
| 77 | } |
| 78 | |
| 79 | func (e *Error) Is(target error) bool { |
| 80 | if zt, ok := target.(*Error); ok { |
| 81 | return zt.Kind == e.Kind |
| 82 | } |
| 83 | return false |
| 84 | } |
| 85 | |
| 86 | // Message returns just the Err.Error() string, if present, or the Kind |
| 87 | // string description. The intent is to allow srverr users a way to avoid |
no outgoing calls