Skip to content

Commit

Permalink
refactor: (#202) internal 제거
Browse files Browse the repository at this point in the history
Exception 처리 시 서버 오류
  • Loading branch information
khcho0125 committed Dec 9, 2022
1 parent 1bd0897 commit a80ba42
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package team.comit.simtong.domain.file.error

import team.comit.simtong.global.error.WebErrorProperty

/**
*
* 표현 계층의 File Error를 관리하는 WebFileErrorCode
*
* @author Chokyunghyeon
* @date 2022/12/09
* @version 1.0.0
**/
enum class WebFileErrorCode(
private val status: Int,
private val message: String
) : WebErrorProperty {

INVALID_EXTENSION(400, "제한된 확장자");

override fun status(): Int = status

override fun message(): String = message

}

0 comments on commit a80ba42

Please sign in to comment.