Exception: Parse::MFA::RequiredError

Inherits:
Error
  • Object
show all
Defined in:
lib/parse/two_factor_auth.rb

Overview

Error raised when MFA is required but not provided

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(message = "MFA token is required for this account") ⇒ RequiredError

Returns a new instance of RequiredError.



67
68
69
# File 'lib/parse/two_factor_auth.rb', line 67

def initialize(message = "MFA token is required for this account")
  super(message)
end