Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Need to display server down error

$
0
0

@asad219 wrote:

I need to show server down error or Server busy error when Server is stopped. how to popup error

return this._http.post(this._queryUrlAuth, body, options)
      .map((res: Response) => res.json())
      .catch(this._errorHandler);

I am implementing the auth service here

getActivityQuery(): any {
    this._authServiec.getAuth().subscribe(data => {
      var token = JSON.parse(JSON.stringify(data));

      this._searchSubActivity.getSearchActivites(token, this.SearchStr).subscribe(data => {
    this._subActivityList = data.json();
  })
});

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>