Outputing execption
-
try:
-
objectStoreConfigDict = json.loads(objectStoreConfigJSON)
-
except Exception as err:
-
print(err) # for the repr
-
print(str(err)) # for just the message
-
print(err.args) # the arguments that the exception has been called with.
-
raise(InvalidObjectStoreConfigInvalidJSONException)
RJM Article Type
Quick Reference