message: Retornando erro de jwt expirado no guarda
diff: -import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common';
  +import { CanActivate, ExecutionContext, Injectable, UnauthorizedException } from '@nestjs/common';
  import { Reflector } from '@nestjs/core';
  import { RoleEnum } from '../../SecurityModule/enum';
  import { User } from '../../UserModule/entity';
  @@ -27,7 +27,14 @@ export class RoleGuard implements CanActivate {
  return false;
  const [, token] = authorizationHeader.split(' ');
  - const user: User = this.jwtService.verify(token);
  + let user: User;
  + try {
  + user = this.jwtService.verify<User>(token);
  + } catch (e) {
  + if (e.name === 'TokenExpiredError') {
  + throw new UnauthorizedException(e.message)
  + }
  + }
  const hasPermission: boolean = roles
  .some((role) => role === user.role.name);
  return user?.role && hasPermission;
  