go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . TranslatableError TranslatableError it wraps the error interface adding a way to set the translation function on the error
| 5 | // TranslatableError it wraps the error interface adding a way to set the |
| 6 | // translation function on the error |
| 7 | type TranslatableError interface { |
| 8 | // Returns the untranslated error string |
| 9 | Error() string |
| 10 | Translate(func(string, ...interface{}) string) string |
| 11 | } |
no outgoing calls
no test coverage detected