The raise_error matcher can be used without passing a exception class