Re:Goro – An implementation of PHP written in Go
by bouncycastle on Tuesday November 27, 2018 @02:34AM
(#18540288)
Actually, any type can be an error, just as long as it impliments the Error interface. Go is more about interfaces - if some type impliments some interface, then that's what it is.
Then it's not an error, and Go has once again forced people into writing something semantically confusing and/or incorrect because it lacks basic abstractions.