summaryrefslogtreecommitdiff
path: root/lib/utils/mu-error.hh
AgeCommit message (Collapse)Author
2025-07-24fmt: prefer system package if foundDirk-Jan C. Binnema
mu embeds a "vendored" subset of the libfmt package under thirdparty; but it's better to use the system-package if the user has one. So, use the system package if found or user -Duse-embedded-fmt=true is specified.
2023-09-24error: more unit testsDirk-Jan C. Binnema
2023-09-23mu: log warning when exiting with errorDirk-Jan C. Binnema
2023-09-16mu-error: allow for adding end-user hintsDirk-Jan C. Binnema
2023-08-19remove Mu::format, use mu_formatDirk-Jan C. Binnema
Use the new fmt-based formatting.
2023-07-05utils: rework Mu::Error and g_ logging macros with fmtDirk-Jan C. Binnema
A bit more C++ template magic to remove a lot of code.
2023-07-02all: update for API changes (config etc.)Dirk-Jan C. Binnema
Use the new & improved APIs.
2023-04-11mu: improve error numbersDirk-Jan C. Binnema
Ensure they match what mu expects.
2023-01-29mu: improve mu-errorDirk-Jan C. Binnema
Add specific error-code for SchemaMismatch Combine find/cfind no-matches
2023-01-21mu-error: Add missing <cstdint> includeArsen Arsenović
GCC 13s libstdc++ reduced its dependency on some headers like <cstdint>, so it's no longer transitively included through various headers. Include it explicitly. See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes ../lib/utils/mu-error.hh:36:26: error: ‘uint32_t’ does not name a type 36 | static constexpr uint32_t SoftError = 1 << 23; | ^~~~~~~~
2023-01-14utils: get rid of mu-util.[ch]Dirk-Jan C. Binnema
It was getting old... Remove the unused parts, refactor the few parts still in use.
2022-11-17script: Rework guile script with new CLI supportDirk-Jan C. Binnema
Integrate the guile scripting a bit better into the mu cmdline. Rework the old script module for that.
2022-10-30mu-error: add missing string includeDirk-Jan C. Binnema
2022-05-15mu: improve error reportingDirk-Jan C. Binnema
2022-05-12mu-error: encode retval/flags in enumDirk-Jan C. Binnema
2022-04-30error: Add some more error codesDirk-Jan C. Binnema
2022-04-16error: Add crypto error codeDirk-Jan C. Binnema
2022-03-28mu-error: make fill_g_error constDirk-Jan C. Binnema
And add some more error codes.
2022-03-26mu-error: fix typoDirk-Jan C. Binnema
2022-02-22utils: some more convenience for error/resultDirk-Jan C. Binnema
2022-02-18lib: fix clang compatibility / warningsDirk-Jan C. Binnema
2022-02-16mu-error: Better support for GErrorDirk-Jan C. Binnema
Allow filling a GError from a Mu::Error
2021-10-20clang-format: update c/cc coding styleDirk-Jan C. Binnema
Update all cc code using .clang-format; please do so as well for future PRs etc.; emacs has a handy 'clang-format' mode to make this automatic. For comparing old changes with git blame, we can disregard this one using --ignore-rev (see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-04-22seperate Mu::format and Mu::vformatDerek Zhou
2020-11-15utils: add Result / Option typesDirk-Jan C. Binnema
Add some Rust-style Result/Option types, based on TartanLlama's expected, optional classes. There's std::optional of course, but we can't depend on C++17 yet.
2020-10-31lib: improve error handling, cleanupsDirk-Jan C. Binnema
2020-01-31lib/utils: Add Message error.Dirk-Jan C. Binnema
2020-01-21utils: Implement sexp command parserDirk-Jan C. Binnema
Implement a sexp parser, and on top of that a command parser (for mu4e commands). Add tests, too.
2020-01-18utils: Update error exception, utils.Dirk-Jan C. Binnema
2020-01-05lib/utils: UpdateDirk-Jan C. Binnema
2020-01-01utils: add Mu::Error (runtime exception)Dirk-Jan C. Binnema