# stdex: include/stdex/exception.hpp Source File

Loading...
Searching...
No Matches
exception.hpp
/*
SPDX-License-Identifier: MIT
Copyright © 2023 Amebis
*/
#pragma once
#include "sal.hpp"
#include <exception>
namespace stdex
{
class user_cancelled : public std::exception
{
public:
user_cancelled(_In_opt_z_ const char *msg = nullptr) : exception(msg)
{
}
};
}
stdex::user_cancelled
User cancelled exception.
Definition exception.hpp:17
stdex::user_cancelled::user_cancelled
user_cancelled(const char *msg=nullptr)
Constructs an exception.
Definition exception.hpp:24