When you see something like this, it can be extracted as guard-function:
if (\mb_strlen($description) > 100) { throw new Exception("The description is too long."), 400);}
--->
Excerpt From: Martin Fowler. “Refactoring: Improving the Design of Existing Code, Second Edition”.