MCPcopy Create free account
hub / github.com/audacity/audacity / GetError

Method GetError

libraries/lib-sqlite-helpers/sqlite/Result.h:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 Error GetError () const noexcept
80 {
81 if (HasValue())
82 return Error();
83
84 return *std::get_if<Error>(&mValue);
85 }
86private:
87 std::variant<Error, T> mValue;
88};

Callers 5

SetupBlocksCopyMethod · 0.45
OnBlockDownloadedMethod · 0.45
OpenMethod · 0.45
ReopenMethod · 0.45

Calls 1

ErrorFunction · 0.70

Tested by

no test coverage detected