Skip to content

[feat] Create an errorResponse object #102

@lgrd

Description

@lgrd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions