how do i raise the same exception with a custom message in python?,print(' got error of type ' + str(type(e)) + ' with message ' + e.message)