3 ms·
The return type would still be the error interface. If you want more information than the error interface you can just use a type switch/assertion.
by mixedCase 10y ago
The return type would still be the error interface. If you want more information than the error interface you can just use a type switch/assertion.