예제 #1
0
파일: exception.php 프로젝트: mage2pro/core
/**
 * 2016-10-24
 * @param E|string $e
 * @return string
 */
function df_etsd($e)
{
    return !$e instanceof E ? $e : ($e instanceof DFE ? $e->messageD() : $e->getMessage());
}