Skip to content
Snippets Groups Projects
Select Git revision
  • 32293490da53b769b55f83dc01c5496f3b7d25f2
  • main default protected
2 results

participantErrors.js

Blame
  • participantErrors.js 406 B
    exports.createParticipantIsAlreadyExistError = () => {
      const error = new Error(
        '이미 존재하는 참가자입니다. 같은 이름의 참가자를 중복 생성할 수 없습니다.',
      );
      error.status = 409;
      return error;
    };
    
    exports.createParticipantNotFoundError = () => {
      const error = new Error('참가자 정보를 찾을 수 없습니다.');
      error.status = 404;
      return error;
    };