Skip to content

Reduce verboseness of checking error code and erroring #3

@k-rus

Description

@k-rus

The simplest approach is to rename check_and_throw into ok.

Since the call is long in any case due to the message, it might be OK to split into to two statements, but will require to assign the result of a cass function call to a CassError variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions