/* -*- mode: c++; indent-tabs-mode: nil; -*-
 *
 * This file is part of the Mango recipe management distribution.
 * Copyright (c) 2000-2003, Roland Jesse
 * All rights reserved.
 *
 * For license and copyright information see the file COPYRIGHT or 
 * <http://www.opensource.org/licenses/bsd-license.html>.
 *
 * $Id: Error.h,v 1.2 2003/01/12 16:19:55 rjesse Exp $
 */
 
#ifndef ERROR_H
#define ERROR_H

#include <qstring.h>

/*!
  The Error class represents the core exception class of %Mango.
*/
class Error {
   public:
	  Error( const QString& s) : m_what( s) { }
	  virtual ~Error() { }
	  virtual const QString what() const { return m_what; }

   private:
	  QString m_what;
};
#endif // ERROR_H
