3 ms·
Do not wrap your errors like in the article. A better way to do it is to create your own error type where you can pass additional values alongside message. It m
by suralind 3y ago
Do not wrap your errors like in the article. A better way to do it is to create your own error type where you can pass additional values alongside message. It means that you can actually handle the error and not just log it.