[doc] Fix error in tutorial example: type(exc) is the type rather than the instance (#102751)

1 file changed