Exception: Parse::MFA::ForbiddenError

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

Overview

Error raised when an operator is not authorized to perform a privileged MFA operation (e.g. master-key disable). See UserExtension#disable_mfa_master_key!.

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Not authorized to perform this MFA operation") ⇒ ForbiddenError

Returns a new instance of ForbiddenError.



90
91
92
# File 'lib/parse/two_factor_auth.rb', line 90

def initialize(message = "Not authorized to perform this MFA operation")
  super(message)
end