%v", float64(e))
to avoid infinite loop, but can someone explain why this happens?
on Error you used %v to format your custom error but that call itself infinitly to resolve as string so use %f verb to format to floating point or convert to float
so %v wants a value but it sees my passed value as an error type?
Обсуждают сегодня