blob: e57be7378dc22618faa2f0eace636113d2a96977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
* FatalError.cpp
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2014 Copernica BV
*/
#include "includes.h"
/**
* Set up namespace
*/
namespace Php {
/**
* Report this error as a fatal error
* @return bool
*/
bool FatalError::report() const
{
// report the error
zend_error(E_ERROR, "%s", what());
// return true: it was reported
return true;
}
/**
* End of namespace
*/
}
|