We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760d882 commit 0f89ee8Copy full SHA for 0f89ee8
1 file changed
lib/type_toolkit/ext/nil_assertions.rb
@@ -31,7 +31,7 @@ module TypeToolkit
31
#
32
# Note: `rescue Exception` can still catch it, but that's intentionally harder to write accidentally.
33
34
- # WARNING: If you copy this class into another codebase, do NOT change the superclass to `StandardError`.
+ # WARNING: do NOT change the superclass to `StandardError`.
35
# Doing so would allow common `rescue StandardError` or bare `rescue` clauses to silently swallow
36
# nil errors, masking bugs that should be immediately visible.
37
class UnexpectedNilError < Exception # rubocop:disable Lint/InheritException
0 commit comments