throws_ok { some_function() } qr{\AError: .+}, "some_function() error handling";