fix: [API] Events add/edit return correct error code on failure
fix: [API] Events add/edit return correct error code on failure

SteveClement/MISP,FloatingGhost/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,FloatingGhost/MISP,SteveClement/MISP,MISP/MISP,FIRSTdotorg/MISP,FloatingGhost/MISP,MISP/MISP,FloatingGhost/MISP,FIRSTdotorg/MISP,SteveClement/MISP,MISP/MISP,SteveClement/MISP,FIRSTdotorg/MISP,FIRSTdotorg/MISP