You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(errors): 튜토리얼 13/14/15/16 self-contained framework를 최신 명명으로 통일 (영/한)
직전 PR의 "의도적 보존" 방침 폐기. 학습자에게 옛 이름과 신규 이름 두 세트를
매핑하라는 부담은 제거하고, 튜토리얼이 가르치는 내용 자체를 v1.0.0-alpha.4
프로덕션 명명과 동일하게 맞춘다.
대상:
- Framework/Abstractions/Errors/ 5개 .cs (튜토리얼 13/14/15/16 각 폴더):
ErrorCodeFactory.cs → ErrorFactory.cs
ErrorCodeExpected.cs → ExpectedError.cs
ErrorCodeExceptional.cs → ExceptionalError.cs
ErrorCodeFieldNames.cs → ErrorLogFieldNames.cs
DomainErrorType.cs → DomainErrorKind.cs
- 사용자 코드(.cs) 전반에서 위 클래스를 호출·인용한 부분 일괄 갱신
- 튜토리얼 4개 .md(영/한 8개) 본문의 옛 이름 일괄 갱신
- ErrorCode.Tests.Unit/ErrorCodeFactoryTests.cs → ErrorFactoryTests.cs
(클래스 이름·메서드 이름·Trait 모두 갱신)
- 직전 PR(807e6b7)에서 추가한 "명명 규칙 안내" :::note 박스 8개 제거 —
더 이상 필요 없음
학습 의도 보존:
- 13의 사용자 정의 internal static class DomainErrors 패턴은 그대로
유지(사용자가 직접 정의하는 클래스 이름이라 학습 진화 흐름의 핵심).
- 14에서 framework helper DomainError.For<T>()로 단순화되는 흐름도 동일.
검증: FunctionalValueObject.slnx 빌드 0 오류, 1080/1080 테스트 통과.
126 파일 변경(rename·내용 sed 합산), 코드 동작 변경 없음.
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode.Tests.Unit/ErrorFactoryTests.cs
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/Program.cs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -46,31 +46,31 @@ static void Main()
46
46
47
47
staticstringPrintError(Errorerror)
48
48
{
49
-
// InternalsVisibleTo를 통해 ErrorCodeExpected 클래스에 직접 접근
49
+
// InternalsVisibleTo를 통해 ExpectedError 클래스에 직접 접근
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/ValueObjects/01-ComparableNot/01-PrimitiveValueObjects/BinaryData.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ internal static class DomainErrors
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/ValueObjects/01-ComparableNot/02-CompositePrimitiveValueObjects/Coordinate.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ internal static class DomainErrors
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/ValueObjects/01-ComparableNot/03-CompositeValueObjects/City.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ internal static class DomainErrors
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/ValueObjects/01-ComparableNot/03-CompositeValueObjects/PostalCode.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ internal static class DomainErrors
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/ValueObjects/01-ComparableNot/03-CompositeValueObjects/Street.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ internal static class DomainErrors
Copy file name to clipboardExpand all lines: Docs.Site/src/content/docs/ko/tutorials/functional-valueobject/part1-valueobject-concepts/13-error-code/ErrorCode/ValueObjects/02-Comparable/01-PrimitiveValueObjects/Denominator.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ internal static class DomainErrors
0 commit comments