VireoSDK icon indicating copy to clipboard operation
VireoSDK copied to clipboard

Consolidate all errors in one enum type in a file

Open sanmut opened this issue 7 years ago • 0 comments

I think we should consolidate all errors (such as kQueueArgErr, kFormatTypeMismatch) in one header file, preferably under one enum. We can have duplicate names with the same value such as for Argument Errors on different nodes/features.

We also have code like these: errPtr->SetErrorAndAppendCallChain(true, kVariantIncompatibleType, "Get Variant Attribute"); Instead of using a hardcoded string we need to do string constants and consolidate them in a single place. We also need to consider localization.

sanmut avatar Mar 22 '18 14:03 sanmut