[Julia API] Move the error code check just below the ccall.
Move the error code check just below the ccall. Seems safer to check before post-processing the data.
Move the error code check just below the ccall. Seems safer to check before post-processing the data.