Feature #5236
pg_raise to PHP Object
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/29/2010
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
pg_raise to PHP Object
PGRaise::note('Note'); PGRaise::error('Error MSG'); // or throw new PGException('error'); try { PGRaise::error('MSG'); // or throw new PGRaiseError('error'); } catch(PGRaiseError $e) { PGRaise::note('ERROR IS Code: ' . $e->getCode() . ' - MSG: ' . $e->getMessage()); }