spock
10/31/2017 - 3:27 PM

Reraising exception with custom msg

except ValueError as err:
    err.strerror = "New error message"
    raise err