@param Request $request
@param int     $type
@param bool    $catch
