Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Make proper use of exceptions instead of using the logger #21

Open
@stv0g

Description

@stv0g

I suggest that we introduce a couple of exceptions like:

  • villas::Exception(const std::string &msg)
  • villas::SystemError(int errno, const std::string &msg)

Instead of logging the error before throwing the exception or within the exception itself, we should only log the error in the catch block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions