summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorAugustin Gottlieb <33221555+aguspe@users.noreply.github.com>2026-01-02 17:54:42 +0100
committergit <svn-admin@ruby-lang.org>2026-01-04 06:56:57 +0000
commit912cf819b96a7ada89db044add26e94746f3ebb5 (patch)
tree26192aaff3ebee6424c8014c801acac78df9153f /spec/ruby
parentca0fece56a3ddfa6b9ec9cf1652e414929040614 (diff)
[ruby/openssl] Improve Argument Error Message in EC:Group.new
Before, passing the wrong number of arguments (e.g., 2) to OpenSSL::PKey::EC::Group.new raised a generic "wrong number of arguments" error. This change updates it to show the actual argument count and the expected options (1 or 4), making debugging easier for the user. Example: ArgumentError: wrong number of arguments (given 2, expected 1 or 4) I hope it helps! https://github.com/ruby/openssl/commit/783c99e6c7
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions