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