TierRestrictedException¶
- class TierRestrictedException[source]¶
Exception raised when a feature is restricted by the course tier.
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- missing_permissions: Sequence[GlobalPermission | CoursePermission] | None¶
If the exception was caused by missing permissions this will be a list of permissions that are missing. You might not need all permissions in this list.