:lipstick: Add error messages when wrong inheritance