Exception: Tasker::Authorization::UnauthorizedError

Inherits:
AuthorizationError show all
Defined in:
lib/tasker/authorization/errors.rb

Overview

Raised when a user is not authorized to perform a specific action

This error should be raised when authorization checks fail, typically resulting in a 403 Forbidden HTTP response.

Examples:

raise UnauthorizedError, "Not authorized to delete task 123"