Files
RedBear-OS/local/recipes/kde/kf6-kcrash/source/src/exception_p.h
T
2026-04-14 10:51:06 +01:00

20 lines
364 B
C++

// SPDX-License-Identifier: LGPL-2.0-or-later
#pragma once
#include "kcrash_export.h"
#include <exception>
#include <optional>
namespace KCrash
{
struct KCRASH_NO_EXPORT ExceptionMetadata {
std::exception_ptr ptr;
const char *klass;
const char *what;
};
KCRASH_NO_EXPORT std::optional<ExceptionMetadata> exceptionMetadata();
} // namespace KCrash