Skip to content

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

@nidhidhamnani

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'

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