Implicit Exception Context
def parse_config(raw):
try:
return int(raw)
except ValueError:
raise RuntimeError(f"invalid config value: {raw!r}")
parse_config("nope")
This crashes with two tracebacks shown. Select all statements that are true about this chain.
Sign in to answer questions and track your progress
Sign In