Skip to content

Provide detailed error message for incorrect argument type in CacheClientAsync / CacheClient #349

Description

@nidhidhamnani

I was trying to create a new CacheClientAsync object but I provided incorrect arguments to the constructor, my code:

self.client = CacheClientAsync(
            Configurations.Laptop.latest(),
            auth_token, // string
            default_ttl_seconds // integer
        )

The error message I received was ERROR:__main__:test execution failed with 'str' object has no attribute 'control_endpoint'

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions