Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Create an errorResponse object #102

Open
lgrd opened this issue Apr 18, 2024 · 0 comments
Open

[feat] Create an errorResponse object #102

lgrd opened this issue Apr 18, 2024 · 0 comments

Comments

@lgrd
Copy link
Collaborator

lgrd commented Apr 18, 2024

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.
  • errorResponse should have engineExtra too
@lgrd lgrd converted this from a draft issue Apr 18, 2024
@lgrd lgrd changed the title [feat] Create a errorResponse object [feat] Create an errorResponse object Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant