()
| 49 | } |
| 50 | |
| 51 | func init() { |
| 52 | errbase.RegisterLeafEncoder(errbase.GetTypeKey((*leafError)(nil)), encodeLeaf) |
| 53 | errbase.RegisterLeafDecoder(errbase.GetTypeKey((*leafError)(nil)), decodeLeaf) |
| 54 | } |
| 55 | |
| 56 | // withPrefix is like withMessage but the |
| 57 | // message can contain redactable and non-redactable parts. |
nothing calls this directly
no test coverage detected
searching dependent graphs…