Using @test_throws for any error/excpeption

I want to test that certain uses of my code throws an error, however I am not concerned with exactly what type of error.

Is there a way to use @test_throws without specifying the exact type of error?

You can specify the error type as Exception, which should catch all errors