mirror of
https://github.com/dg/dibi.git
synced 2025-10-21 09:47:47 +02:00
update to 0.6
This commit is contained in:
@@ -58,6 +58,9 @@ class DibiException extends Exception
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Checks result state
|
||||
*/
|
||||
function is_error($var)
|
||||
{
|
||||
return ($var === FALSE) || ($var instanceof Exception);
|
||||
|
Reference in New Issue
Block a user