lib/lastpass/exceptions.rb in lastpass-1.0.1 vs lib/lastpass/exceptions.rb in lastpass-1.1.0
- old
+ new
@@ -11,23 +11,29 @@
# Something went wrong with the network
class NetworkError < Error; end
# Server responded with something we don't understand
- class InvalidResponse < Error; end
+ class InvalidResponseError < Error; end
# Server responded with XML we don't understand
- class UnknownResponseSchema < Error; end
+ class UnknownResponseSchemaError < Error; end
#
# LastPass returned errors
#
# LastPass error: unknown username
- class LastPassUnknownUsername < Error; end
+ class LastPassUnknownUsernameError < Error; end
# LastPass error: invalid password
- class LastPassInvalidPassword < Error; end
+ class LastPassInvalidPasswordError < Error; end
+
+ # LastPass error: missing or incorrect Google Authenticator code
+ class LastPassIncorrectGoogleAuthenticatorCodeError < Error; end
+
+ # LastPass error: missing or incorrect Yubikey password
+ class LastPassIncorrectYubikeyPasswordError < Error; end
# LastPass error we don't know about
class LastPassUnknownError < Error; end
end