src/core/Exception.php
public static function text(\Throwable $e) {
        return sprintf('%s [ %s ]: %s ~ %s [ %d ]',
            get_class($e), $e->getCode(), strip_tags($e->getMessage()), \mii\util\Debug::path($e->getFile()), $e->getLine());
    }
public static function text(\Throwable $e) {
        return sprintf('%s [ %s ]: %s ~ %s [ %d ]',
            get_class($e), $e->getCode(), strip_tags($e->getMessage()), \mii\util\Debug::path($e->getFile()), $e->getLine());
    }
Get a single line of text representing the exception:

Error [ Code ]: Message ~ File [ Line ]

@param   \Throwable $e
@return  string