[rubygems/rubygems] Add WebauthnVerificationError Exception

https://github.com/rubygems/rubygems/commit/932c111f2c
This commit is contained in:
Jenny Shen 2023-02-15 10:49:27 -05:00 коммит произвёл Hiroshi SHIBATA
Родитель 332c4b6726
Коммит 354a5c646e
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -214,6 +214,16 @@ class Gem::RubyVersionMismatch < Gem::Exception; end
class Gem::VerificationError < Gem::Exception; end
##
# Raised by Gem::WebauthnListener when an error occurs during security
# device verification.
class Gem::WebauthnVerificationError < Gem::Exception
def initialize(message)
super "Security device verification failed: #{message}"
end
end
##
# Raised to indicate that a system exit should occur with the specified
# exit_code