An extension of the golang Error interface which supports equality checking