exception mixins and formatting