Exception: NinjaOne::AuthenticationError
- Inherits:
-
NinjaOneError
- Object
- StandardError
- NinjaOneError
- NinjaOne::AuthenticationError
- Defined in:
- lib/ninjaone/error.rb
Overview
Raised when authentication to the NinjaOne API fails. This might be due to incorrect credentials, an expired token, or insufficient permissions.
Example:
raise NinjaOne::AuthenticationError, "Invalid client credentials"