3 ms·
The API in the article is try_from by another name... but leaving the question of panicking to the caller seems right to me. In the "I'm trying to respond to th
by couchand 5y ago
The API in the article is try_from by another name... but leaving the question of panicking to the caller seems right to me. In the "I'm trying to respond to the error" case maybe unknown should be a panic, but what about when you share code with your log parser?