You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is just to check if Error.Number() (or the contents of the Error pointer directly) is non-zero, mapping Error.Description() into an exception frequently. This should avoid many issues since there are many places that use the Error interface to report errors in the Pascal code.
Adding this shouldn't be too hard. First we need to move this snippet into a new function:
The idea is just to check if
Error.Number()
(or the contents of the Error pointer directly) is non-zero, mappingError.Description()
into an exception frequently. This should avoid many issues since there are many places that use the Error interface to report errors in the Pascal code.Adding this shouldn't be too hard. First we need to move this snippet into a new function:
OpenDSSDirect.jl/src/basic.jl
Lines 96 to 104 in c8e5cc9
Then,
A similar approach is already being used in DSS Python/MATLAB.
The text was updated successfully, but these errors were encountered: