stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
exception.hpp
1/*
2 SPDX-License-Identifier: MIT
3 Copyright © 2023 Amebis
4*/
5
6#pragma once
7
8#include "sal.hpp"
9#include <exception>
10
11namespace stdex
12{
16 class user_cancelled : public std::exception
17 {
18 public:
24 user_cancelled(_In_opt_z_ const char *msg = nullptr) : exception(msg)
25 {
26 }
27 };
28}
User cancelled exception.
Definition exception.hpp:17
user_cancelled(const char *msg=nullptr)
Constructs an exception.
Definition exception.hpp:24