Skip to content

Refactored multiple items - #43

Merged
berghtho merged 1 commit into
mainfrom
feature/refactor
Jun 5, 2026
Merged

Refactored multiple items#43
berghtho merged 1 commit into
mainfrom
feature/refactor

Conversation

@berghtho

@berghtho berghtho commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

Improves error handling and functional composition across FunctionalUseCases.

Changes

  • Preserve original exceptions and stack traces in ExecutionError.Exception
  • Throw ExecutionException from failed CheckedValue
  • Set original exception as ExecutionException.InnerException
  • Pass preserved exceptions to ILogger
  • Add Match, Map, Bind, and GetValueOrThrow
  • Support string error codes and structured error properties
  • Replace reflective dispatcher invocation with cached strongly typed invokers
  • Preserve error metadata when mapping, binding, or combining results
  • Add optional FunctionalUseCases.AspNetCore package
  • Add IActionResult and ProblemDetails mappings
  • Correct README/API mismatches

Breaking Changes

ExecutionError.ErrorCode

Changed from:

int? ErrorCode

@berghtho berghtho changed the title refactored Refactored multiple items Jun 5, 2026
@berghtho
berghtho merged commit 65bfae1 into main Jun 5, 2026
4 checks passed
@berghtho
berghtho deleted the feature/refactor branch June 5, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant