Mac@programming.dev to Python@programming.dev · 1 year agoPython errors as valueswww.inngest.comexternal-linkmessage-square18fedilinkarrow-up147arrow-down13
arrow-up144arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 1 year agomessage-square18fedilink
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up1·1 year agoIf only python had a throws keyword like in Java. They got that right at least.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up3·edit-21 year agoraise and raise … from ?
minus-squareFahri Reza@mastodon.sociallinkfedilinkarrow-up3·1 year 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