Add matcher for checking that error is raised