Sha256: 6bfe29d4e70606f40af34aa65a450112f28423c8cadd97e6776013d49ff93ad5
Contents?: true
Size: 746 Bytes
Versions: 5
Compression:
Stored size: 746 Bytes
Contents
// // refract/Exception.h // librefract // // Created by Jiri Kratochvil on 21/05/15. // Copyright (c) 2015 Apiary Inc. All rights reserved. // #ifndef REFRACT_EXCEPTION_H #define REFRACT_EXCEPTION_H #include <stdexcept> namespace refract { struct LogicError : std::logic_error { explicit LogicError(const std::string& msg) : std::logic_error(msg) {} }; // will be removed in future struct NotImplemented : std::runtime_error { explicit NotImplemented(const std::string& msg) : std::runtime_error(msg) {} }; struct Deprecated : std::logic_error { explicit Deprecated(const std::string& msg) : std::logic_error(msg) {} }; }; // namespace refract #endif // #ifndef REFRACT_EXCEPTION_H
Version data entries
5 entries across 5 versions & 1 rubygems