diff --git a/rbi/annotations/activesupport.rbi b/rbi/annotations/activesupport.rbi index 67871b78..7bd6330f 100644 --- a/rbi/annotations/activesupport.rbi +++ b/rbi/annotations/activesupport.rbi @@ -493,4 +493,15 @@ class ActiveSupport::ErrorReporter ).void end def report(error, handled: true, severity: T.unsafe(nil), context: T.unsafe(nil), source: T.unsafe(nil)); end + + # @version >= 7.2.0.beta1 + sig do + params( + error: T.any(Exception, String), + severity: T.nilable(Symbol), + context: T::Hash[Symbol, T.untyped], + source: T.nilable(String), + ).void + end + def unexpected(error, severity: T.unsafe(nil), context: T.unsafe(nil), source: T.unsafe(nil)); end end