Mac@programming.dev to Python@programming.dev · 10 months agoPython errors as valueswww.inngest.comexternal-linkmessage-square15fedilinkarrow-up141arrow-down15
arrow-up136arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 10 months agomessage-square15fedilink
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up1·10 months agoIf only python had a throws keyword like in Java. They got that right at least.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-210 months agoraise and raise … from ?
minus-squareFahri Reza@mastodon.sociallinkfedilinkarrow-up2·10 months agoI think they meant the registration of what Exceptions a function can possibly throw. @eager_eagle @onlinepersona
If only python had a
throws
keyword like in Java. They got that right at least.raise
andraise
…from
?I think they meant the registration of what Exceptions a function can possibly throw.
@eager_eagle @onlinepersona
ah yes - that’s useful