move custom error matchers into the main config