better check `e.constructor` then ;) And with `===` I think.