Skip to content

API to convert from Status.Code to Status #1722

@ejona86

Description

@ejona86

Status.fromCodeValue(code.value()) isn't too bad, but it does seem a bit strange not having something more like Status.fromCode(Code). Alternatively, we could make Status.Code.status() public, but that doesn't seem to match the rest of the API as well.

@lukaszx0, FYI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions