Skip to content

Exception magnitude #6

Description

@wfatherley

exceptlib might not be the correct repository for this feature, but consider:

try:
    ...
except ThisException >= ThatException:
    ...

The basic idea is that some programs might have a characteristic range of exceptions, and these exceptions might have some essential order or maybe some sort of compactness that, at certain layers, necessitates exception handling by comparison.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions