joblike / joblike-service

Server side using nest.js
1 stars 1 forks source link

Add exception response infra #7

Closed cawak closed 4 years ago

cawak commented 4 years ago

The format should be:

{
    "meta": {
        "flowId": "2dc4324fff254f6791610f9cb700a562",
        "time": 1593884433381
    },
    "error": {
        "status": 500,
        "path": "/health"
    }
}

We don't need any message yet etc. Something very basic. Maybe to add message in the future when we will have special exceptions.

cawak commented 4 years ago

Server - add metadata to error handling

cawak commented 4 years ago

Merged