Skip to content

fix: standardize error handling patterns#65

Merged
RobertLD merged 1 commit intomainfrom
fix/issue-40-error-patterns
Mar 1, 2026
Merged

fix: standardize error handling patterns#65
RobertLD merged 1 commit intomainfrom
fix/issue-40-error-patterns

Conversation

@RobertLD
Copy link
Owner

@RobertLD RobertLD commented Mar 1, 2026

  • Adds withErrorHandling() HOF in MCP server to eliminate try-catch boilerplate
  • Makes getTopic() throw on not-found for consistency with other modules

Closes #40

Closes #40

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@RobertLD RobertLD merged commit 4043378 into main Mar 1, 2026
7 checks passed
This was referenced Mar 1, 2026
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.

Inconsistent error handling patterns across modules

1 participant