pub unsafe extern "C" fn CANSparkMax_GetLastError(
this: *mut CANSparkMax,
) -> REVLibErrorExpand description
All device errors are tracked on a per thread basis for all devices in that thread. This is meant to be called immediately following another call that has the possibility of throwing an error to validate if an error has occurred.
@return the last error that was generated.