Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/ispcrt/detail/Exception.h
2025-05-18 13:04:45 +08:00

24 lines
435 B
C++

// Copyright 2020 Intel Corporation
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
// public
#include "../ispcrt.h"
// std
#include <stdexcept>
#include <string>
namespace ispcrt {
namespace base {
struct ispcrt_runtime_error : public std::runtime_error {
ISPCRTError e;
ispcrt_runtime_error(ISPCRTError _e, const std::string &msg) : std::runtime_error(msg), e{_e} {}
};
} // namespace base
} // namespace ispcrt