I created a set of Lotusscript libraries for the purpose of reusing it in other Domino applications.
I tried to refactor and take all Const
declarations (for custom errors) in all libaries and put it in a new library named CustomErrors
. Error numbers declared here are intended to be generic (e.g. PARAM_IS_NOTHING
, DATABASE_NOT_FOUND
, etc.) so that I could Use
it for all the libraries in the set.
The problem is, when a client code references 2 libraries that use the CustomErrors
library, a "Public symbol is declared in another module" error shows up.
Here's my question: is there a way to structure Lotusscript libraries so that we can achieve some form of reusability?