This commit introduces a dedicated ErrorSpec with the option to filter out expected errors through Predicates.