<?php
// Copyright (c) MetaClass, 2003-2008
// Licensed under the Academic Free License version 3.0
/** Objects of this class may be answered bay framework methods
* whose name starts with an underscore to signal and describe
* an error. PntErrors may be nested to describe errors that are
* cuased by other errors.
* When php5 reaches the mainstream of applications PntError
* will either be replaced by or become exceptions.
* @see http://www.phppeanuts.org/site/index_php/Pagina/92
* @package pnt
*/
class PntError
{
var $origin; //variant, where the error originates from
var $message; //String
var $cause; //PntError
var $causeDescription; //String