mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 09:18:21 +00:00
24 lines
410 B
C++
24 lines
410 B
C++
#pragma once
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace mapbox {
|
|
namespace geometry {
|
|
namespace wagyu {
|
|
class clipper_exception : public std::exception {
|
|
private:
|
|
std::string m_descr;
|
|
|
|
public:
|
|
clipper_exception(const char* description) : m_descr(description) {
|
|
}
|
|
virtual ~clipper_exception() noexcept {
|
|
}
|
|
virtual const char* what() const noexcept {
|
|
return m_descr.c_str();
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|