Skip to content

Commit e79c509

Browse files
knapoclaude
andcommitted
Revert to Class.new syntax for empty class definitions
Use Class.new(StandardError) instead of empty class definition for ReplayIdError. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1551707 commit e79c509

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/salesforce_streamer/errors.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module SalesforceStreamer
2-
class ReplayIdError < StandardError
3-
end
2+
ReplayIdError = Class.new(StandardError)
43

54
class MissingCLIFlagError < StandardError
65
def initialize(flag)

0 commit comments

Comments
 (0)