PermissionException¶
- class PermissionException[source]¶
Exception raised when a permission check fails.
- 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.
- 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.