Refactor : #83/parsing error 종료 코드 설정 #85
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚅 PR 한 줄 요약
파싱 과정에서 발생하는 에러에 대한 종료코드 설정
🧑💻 PR 세부 내용
파싱 과정에서 발생하는 error에 대한 종료 코드를 1로 설정한다.
종료 상태로 사용할 수 있는 값의 범위는 0 부터 255 까지이다.
하지만 bash에서의 syntax error 종료코드는 아래와 같다.
0~255를 벗어난 custom한 종료 상태 코드로 보여져 고려하지 않기로 결정했다.
📸 스크린샷