nodejs express typescript
http errors boilerplates
Handle promises set when errored and repeat failed sequence after refresh function