Skip to content

[MAINT] reuse the new setError function with return #1111

@ethouris

Description

@ethouris

The new CUDT::setError function is created as a good shortcut to set the error and return. This should replace all uses of CUDTUnited::setError that must be followed by the return. In the same change it would be nice to have some attempt to fix the problem of allocating memory during rewriting this error, as it is reported as inappropriate in case when it reports a memory allocation error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowType: MaintenanceWork required to maintain or clean up the code[core]Area: Changes in SRT library core

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions