aboutsummaryrefslogtreecommitdiff
path: root/libcutl/exception.hxx
blob: d9c069a7e365aa07ce31089b472cf5c0421ee595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// file      : libcutl/exception.hxx
// license   : MIT; see accompanying LICENSE file

#ifndef LIBCUTL_EXCEPTION_HXX
#define LIBCUTL_EXCEPTION_HXX

#include <exception>

#include <libcutl/export.hxx>

namespace cutl
{
  struct LIBCUTL_EXPORT exception: std::exception
  {
    // By default return the exception type name ( typeid (*this).name () ).
    //
    virtual char const*
    what () const noexcept;
  };
}

#endif // LIBCUTL_EXCEPTION_HXX