Closed nwolek closed 11 years ago
Here's a link to this enumeration in the source: https://github.com/jamoma/JamomaCore/blob/master/Foundation/library/includes/TTBase.h#L311
+1
+1
Here's two that I see a need for in my current work:
kTTErrInstantiateFailed - The Jamoma object that you tried to instantiate was unsuccessful kTTErrInvalidFilepath - Something was wrong with the filepath you submitted
Are there other immediate suggestions?
I think you should just go ahead and add them and we can always add more later as desired.
I just consulted my shoes and they said: "Just do it".
I believe the key here is that new error codes gets properly doxygen documented, and also that we find a way of structuring/grouping them that makes it easier to see what error codes are there and how they might be related.
:-)
i guess closing from a commit comment only works on master branch. going manual.
kTTErrGeneric gets overused in my opinion. It would be nice to have a few more useful, specific, descriptive error codes. One I can specifically think of in my current work would be something like: kTTErrInstantiateFailed for when a Jamoma object failed to load.
Are there others we would like to see? Creating a list first would help give the implementation some direction.
Is it just me that sees this as an issue? If not, I am willing to gather suggestions and try to enhance this part of the Core.