PageRenderTime 42ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/boost/cgi/error.hpp

http://github.com/darrengarvey/cgi
C++ Header | 36 lines | 12 code | 6 blank | 18 comment | 0 complexity | 83be1e8520a736d3ea8b6bd7375d8b95 MD5 | raw file
  1. // -- error.hpp --
  2. //
  3. // Copyright (c) Darren Garvey 2007.
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. // Abstract:
  9. // ---------
  10. //
  11. // The errors for everything are defined in here. ie. FastCGI,
  12. // CGI and SCGI errors.
  13. //
  14. // **FIXME** There should likely be a common set of errors and
  15. // then protocol-specific errors. So far, everything
  16. // is an fcgi_error, which clearly isn't right.
  17. //
  18. ////////////////////////////////////////////////////////////////
  19. #ifndef CGI_ERROR_HPP_INCLUDED__
  20. #define CGI_ERROR_HPP_INCLUDED__
  21. #include <string>
  22. #include <boost/system/error_code.hpp>
  23. #include "boost/cgi/common/error.hpp"
  24. #include "boost/cgi/fcgi/error.hpp"
  25. BOOST_CGI_NAMESPACE_BEGIN
  26. namespace error {
  27. using namespace ::BOOST_CGI_NAMESPACE::common::error;
  28. } // namespace error
  29. BOOST_CGI_NAMESPACE_END
  30. #endif // CGI_ERROR_HPP_INCLUDED__