Sha256: 305eabbce82bfa059362f6943864ad59975dd5fd310801fd34d734c8bc4ff7de

Contents?: true

Size: 723 Bytes

Versions: 9

Compression:

Stored size: 723 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_EXCEPTION_H__
#define __RAYS_EXCEPTION_H__


#include <xot/exception.h>
#include <rays/defs.h>


namespace Rays
{


	class RaysError : public Xot::XotError
	{
		typedef Xot::XotError Super;
		public: RaysError (const char* str = NULL);
	};


	class OpenGLError : public RaysError
	{
		typedef RaysError Super;
		public: OpenGLError (const char* str = NULL);
	};


	namespace ErrorFunctions
	{

		using namespace Xot::ErrorFunctions;

		void rays_error   (const char* file, int line, const char* format = NULL, ...);

		void opengl_error (const char* file, int line, const char* format = NULL, ...);

	}// ErrorFunctions


	using namespace ErrorFunctions;


}// Rays


#endif//EOH

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rays-0.1.15 include/rays/exception.h
rays-0.1.14 include/rays/exception.h
rays-0.1.13 include/rays/exception.h
rays-0.1.12 include/rays/exception.h
rays-0.1.11 include/rays/exception.h
rays-0.1.10 include/rays/exception.h
rays-0.1.9 include/rays/exception.h
rays-0.1.8 include/rays/exception.h
rays-0.1.7 include/rays/exception.h