When a motor send an error, the error is catched but not transformed. The idea is to add an errorResponse for the interface between a motor and an API :
when an error occurs, this error is send to writeRouteResponse which will create and errorResponse. This errorResponse will be send to the API and it will decide what to do with it.
When a motor send an error, the error is catched but not transformed. The idea is to add an errorResponse for the interface between a motor and an API :