Angular 9 : rxjs 6 : how to return a manual Observable of Error

前端 未结 0 1141
天命终不由人
天命终不由人 2020-12-15 05:47

In my Angular app , and to test some features in HorLigne mode , i need to mock http usefull responses :

  • the 200 OK return containing some data
  • the 404
相关标签:
回答
  • 消灭零回复
提交回复
热议问题