Skip to content
Snippets Groups Projects
Select Git revision
  • 1e28892db68bc299b51ac7cda01bfcd880a1b640
  • main default protected
  • PC_1
  • br_A
4 results

note.md

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;
    };