FormatErrType formats error type string with error concrete type
(errType string, err error)
| 14 | |
| 15 | // FormatErrType formats error type string with error concrete type |
| 16 | func FormatErrType(errType string, err error) string { |
| 17 | return fmt.Sprintf("%s_error (%s)", errType, errctx.ErrorType(err)) |
| 18 | } |