Skip to content

chore: refine error handling in valid_backend_name function - #57

Open
tcely wants to merge 1 commit into
RealOrangeOne:masterfrom
tcely:patch-1
Open

tcely wants to merge 1 commit into
RealOrangeOne:masterfrom
tcely:patch-1

Conversation

@tcely

@tcely tcely commented Sep 3, 2026

Copy link
Copy Markdown

Simple improvements:

  1. Rely on the exception to create its own string.
  2. Use the try/else syntax to clarify when the isinstance check is necessary.

@tcely
tcely marked this pull request as ready for review September 3, 2026 14:55
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