What is errorHandler state 12?
-
I'm testing my error handler setup for missing samples, which works great if I directly select the correct folder.
If i select the wrong one, it throws error 10 (samples not found at the linkfile location), and if I then select the correct folder, it throws error 12.
The error handler doesn't have a description for error 12 and simulate error 12 with the handler, nothing happens.
If i close the plugin (offline) and load it again with the linkfile pointing to the wrong folder, it starts correctly at error 10 and selecting the correct folder now resolves properly without popping error 12.
Also, sometimes, error 12 won't show up during the test "first run -> load wrong folder -> error 10 -> load correct folder".
So, what is error 12?
-
enum State { AppDataDirectoryNotFound, LicenseNotFound, ProductNotMatching, UserNameNotMatching, EmailNotMatching, MachineNumbersNotMatching, LicenseExpired, LicenseInvalid, CriticalCustomErrorMessage, SamplesNotInstalled, SamplesNotFound, IllegalBufferSize, CustomErrorMessage, CustomInformation, numReasons };
Saved you the 5 seconds to count the enum:
CustomErrorMessage
it is.. -
@Christoph-Hart Why would that be popping up?
-
@aaronventure Are you calling some of the API methods that send a error message?
-
no, not setting an error message anywhere. as far as I can see, there's only the one for the expansion handler.