NotInTaskContextError This error is raised when the user tries to access the task context outside of a task.