Skip to content

Exception에 대응하는 HttpStatus와 Message 지정하기 #10

@seongbin9786

Description

@seongbin9786

기능 요청이 문제와 관련이 있습니까? 설명해주세요.
No

원하는 적용 방안을 설명해주세요.

  • 현재 사용자 정의 Exception이 발생하면 500 (Internal Server Error)가 반환된다.
  • 각 Exception별로 HttpStatusCode와 ErrorMessage를 정의하고 그렇게 반환하게 구현해야 할 듯 하다.

이와 관련된 이슈가 있습니까?
#9 , #8 등의 API와 관련된 이슈 - 문서화 시에 필요

적용될때 어떠한 부수효과가 발생할 수 있습니까?
No

Metadata

Metadata

Assignees

Labels

SpringSpring issueenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions