Relax the comparison operator

It is likely that the error code is actually a string and not an
integer, so use == instead of ===.