Exception: Stytch::M2MPermissionError
- Inherits:
-
StandardError
- Object
- StandardError
- Stytch::M2MPermissionError
- Defined in:
- lib/stytch/errors.rb
Instance Method Summary collapse
-
#initialize(has_scopes, required_scopes) ⇒ M2MPermissionError
constructor
A new instance of M2MPermissionError.
Constructor Details
#initialize(has_scopes, required_scopes) ⇒ M2MPermissionError
Returns a new instance of M2MPermissionError.
54 55 56 57 |
# File 'lib/stytch/errors.rb', line 54 def initialize(has_scopes, required_scopes) msg = "Missing at least one required scope from #{required_scopes} for M2M request with scopes #{has_scopes}" super(msg) end |