Skip to content

Document that Loop.new raises RuntimeError when no backend is usable - #125

Merged
Watson1978 merged 1 commit into
socketry:mainfrom
Watson1978:doc-loop-new-error
Oct 21, 2026
Merged

Watson1978 merged 1 commit into
socketry:mainfrom
Watson1978:doc-loop-new-error

Conversation

@Watson1978

Copy link
Copy Markdown
Collaborator

Since #119, Coolio::Loop.new raises RuntimeError instead of crashing when none of the selected backends is usable. The rdoc did not mention it, or that $LIBEV_FLAGS can override the backend selection and cause it unless :skip_environment is true. This adds that to the rdoc of initialize.

Types of Changes

  • Maintenance.

Contribution

🤖 Generated with Claude Code

PR socketry#119 made Loop.new raise RuntimeError instead of crashing when no
selected backend is usable. The documentation did not mention it, or
that $LIBEV_FLAGS can cause it unless :skip_environment is true.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Watson1978
Watson1978 merged commit 36b142f into socketry:main Oct 21, 2026
15 checks passed
@Watson1978
Watson1978 deleted the doc-loop-new-error branch October 21, 2026 04:45
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