Formattable wraps an error into a fmt.Formatter which will provide "smart" formatting even if the outer layer of the error does not implement the Formatter interface.
(err error)
| 226 | // will provide "smart" formatting even if the outer layer |
| 227 | // of the error does not implement the Formatter interface. |
| 228 | func Formattable(err error) fmt.Formatter { return errbase.Formattable(err) } |
| 229 | |
| 230 | // RegisterTypeMigration tells the library that the type of the error |
| 231 | // given as 3rd argument was previously known with type |
nothing calls this directly
no test coverage detected
searching dependent graphs…