
SOLID Go Design
Go Time: Golang, Software Engineering
00:00
Using the Error Value to Annotate Extra Information
In certain cases, you can't do this annotation because taking IOF, printing it string out, penning it to another string and then returning it an entirely different value from font error F gives you something which doesn't compare. So if we're talking about using the error value to annotate extra information, some kind of message or a stack trace or something like that, it has to be undoable. And again, this is not, this might work in this area is very small. It's certainly not unique. We're actually checking for a quality there.
Play episode from 40:09
Transcript


