Skip to content

Concurrent safety and error handling #64

@stevenctl

Description

@stevenctl

Bug report

Describe the bug

This is not a bug, but a feature request. I personally find stateful way ClientError is stored a bit strage.

(1) Consumption of func Xyz() (result, error) is much more natural for most Go callers.
(2) Modification to ClientError makes the client not concurrent-safe (along with modification to transport.header)

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