add wrapper around the `EqualError` function

As the title suggests, I have added a wrapper around the `EqualError` function(by mostly copying and pasting) so that `EqualError` can be used when you use the `*Assertions` struct.

(I don't know in which order you want the functions in the list in `doc.go`. Therefore I added them after the other error functions, feel free to rearrange!)