Hope it is ok to ask this question. I couldn't find this in the docs:
CS functions take a callback that already receives an error. What is the meaning of that received error and how does it relate to the error returned by the CS function? Example:
CS handlers allow to return a confirmation and an error. What is the meaning of the returned error: is it in any way relayed to the CP? I.e. does returning an error create some sort or error response that is returned? Example:
Hope it is ok to ask this question. I couldn't find this in the docs:
CS functions take a callback that already receives an error. What is the meaning of that received error and how does it relate to the error returned by the CS function? Example:
CS handlers allow to return a confirmation and an error. What is the meaning of the returned error: is it in any way relayed to the CP? I.e. does returning an error create some sort or error response that is returned? Example:
I'm not sure if the answers are obvious and I'm just missing them. If not it might nice to add them to the docs of
CentralSystemHandler
andChargePointHandler
in https://pkg.go.dev/github.com/lorenzodonini/ocpp-go@v0.18.0/ocpp1.6.