Mac@programming.dev to Python@programming.dev · 11 months agoPython errors as valueswww.inngest.comexternal-linkmessage-square16fedilinkarrow-up146arrow-down13cross-posted to: hackernews@derp.foo
arrow-up143arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 11 months agomessage-square16fedilinkcross-posted to: hackernews@derp.foo
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up1·11 months agoIf only python had a throws keyword like in Java. They got that right at least.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-211 months agoraise and raise … from ?
minus-squareFahri Reza@mastodon.sociallinkfedilinkarrow-up2·11 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