[rubygems/rubygems] Add WebauthnVerificationError Exception
https://github.com/rubygems/rubygems/commit/932c111f2c
This commit is contained in:
parent
332c4b6726
commit
354a5c646e
@ -214,6 +214,16 @@ class Gem::RubyVersionMismatch < Gem::Exception; end
|
|||||||
|
|
||||||
class Gem::VerificationError < 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
|
# Raised to indicate that a system exit should occur with the specified
|
||||||
# exit_code
|
# exit_code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user