We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f0f34 commit 0ae87caCopy full SHA for 0ae87ca
nau_openedx_extensions/data_extractor/exception.py
@@ -33,4 +33,13 @@ def __init__(self, message=None):
33
if message:
34
self.message = message
35
else:
36
- self.message = "The API client is inactive. Please contact support to reactivate the client."
+ self.message = "The API client is inactive. Please contact support to reactivate the client."
37
+
38
+class PartnerCourseOwnerException(Exception):
39
+ """Custom exception for internal errors during certificate access."""
40
41
+ def __init__(self, message=None):
42
+ if message:
43
+ self.message = message
44
+ else:
45
+ self.message = "You are not allowed to get information about this course."
0 commit comments