Skip to content

Raise a dedicated ProxyNotSetError from manager proxies #161

Description

@allen0099

Part of #113.

ProxyBase.get() raises BackendNotFoundError for every proxy, including CacheManagerProxy, SessionManagerProxy and StateManagerProxy ("No instance set for proxy ..."). The name is misleading when no backend is involved.

Proposal

Add ProxyNotSetError(BackendNotFoundError) and raise it from the manager proxies. Subclassing keeps existing except BackendNotFoundError clauses working.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions