exception.hpp 283 B

12345678910111213
  1. #pragma once
  2. #include <stdexcept>
  3. #include "pointer_fwd.hpp"
  4. class unchecked_pointer_exception : public std::logic_error {
  5. using std::logic_error::logic_error;
  6. };
  7. class null_pointer_exception : public std::invalid_argument {
  8. using std::invalid_argument::invalid_argument;
  9. };