/** * Return a 401 unauthorized error. * * @param string $message * @throws \Symfony\Component\HttpKernel\Exception\HttpException * @return void * @static */ public static function errorUnauthorized($message = 'Unauthorized') { \Dingo\Api\Http\Response\Factory::errorUnauthorized($message); }