We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8b830 commit 9b3250fCopy full SHA for 9b3250f
1 file changed
lib/protocol/http/error.rb
@@ -36,6 +36,9 @@ def initialize(key, existing_value, new_value)
36
# @attribute [String] new_value The new value for the duplicated header.
37
attr :new_value
38
39
+ # Provides a detailed error message including the existing and new values.
40
+ # @parameter highlight [Boolean] Whether to highlight the message (not currently used).
41
+ # @return [String] The detailed error message.
42
def detailed_message(highlight: false)
43
<<~MESSAGE
44
#{self.message}
0 commit comments