зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Add WebauthnVerificationError Exception
https://github.com/rubygems/rubygems/commit/932c111f2c
This commit is contained in:
Родитель
332c4b6726
Коммит
354a5c646e
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче