Superconducting and magnetic properties of ErRh4B4