Update markBroken with a error defined by a string

It solves https://github.com/cozy/cozy-controller/issues/24