Skip to content

Commit 9b3250f

Browse files
committed
Add missing documentation.
1 parent bb8b830 commit 9b3250f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/protocol/http/error.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ def initialize(key, existing_value, new_value)
3636
# @attribute [String] new_value The new value for the duplicated header.
3737
attr :new_value
3838

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.
3942
def detailed_message(highlight: false)
4043
<<~MESSAGE
4144
#{self.message}

0 commit comments

Comments
 (0)