• This project
    • Loading...
  • Sign in

김대선 / Recruitment_Information_chatbot

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Recruitment_Information_chatbot
  • node_modules
  • luxon
  • src
  • impl
  • invalid.js
  • 김대선's avatar
    00시 00분 자동으로 데이터를 받아와서 datas 폴더에 년.월.시간 형식으로 저장 · be44b1f7
    be44b1f7
    김대선 authored 2021-05-28 02:23:19 +0900
invalid.js 282 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
export default class Invalid {
  constructor(reason, explanation) {
    this.reason = reason;
    this.explanation = explanation;
  }

  toMessage() {
    if (this.explanation) {
      return `${this.reason}: ${this.explanation}`;
    } else {
      return this.reason;
    }
  }
}