How to get the error and the change in error of the PID_V1 library

Hello,
I am searching for a method to get the error and the change in error that are calculated while PID _v1 is running ?
in other words, I need to print the change in error of a PID_v1 library.

You'll have to edit your copy of the source code:

he is calculating the change in input, is not it? is this equivalent to the change in error?

I believe Brett discusses the choice of change in input vs change in error in his documentation. Either way, the values, or their precursors, that you seek are private within the library code, so if you want them, you need to adjust your copy of the code.