Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit 88ed8c0

Browse files
committed
remove UnknownError
1 parent 0a6c0e8 commit 88ed8c0

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

include/common/result.hpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,6 @@ class ResultError {
4141
std::optional<RuntimeData> runtime_data;
4242
};
4343

44-
/**
45-
* @brief Unknown Error
46-
*
47-
*/
48-
class UnknownError : public ResultError {
49-
public:
50-
template<typename T>
51-
requires std::convertible_to<T, std::string>
52-
UnknownError(T&& message)
53-
: message(std::forward<T>(message)) {}
54-
55-
std::string message;
56-
};
57-
5844
/**
5945
* @brief Trait to define a "sentinel" value for types indicating an error state.
6046
* @tparam T Type to provide a sentinel value for.

0 commit comments

Comments
 (0)