The Artima Developer Community
Sponsored Link

Java Buzz Forum
Force failure of JavaScript promise in Dojo

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
josef betancourt

Posts: 262
Nickname: averagejoe
Registered: Mar, 2013

josef betancourt is developer using Java and other stuff
Force failure of JavaScript promise in Dojo Posted: Sep 7, 2014 6:20 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by josef betancourt.
Original Post: Force failure of JavaScript promise in Dojo
Feed Title: T. C. Mits
Feed URL: http://octodecillion.com/feed/
Feed Description: Java development and other technology topics
Latest Java Buzz Posts
Latest Java Buzz Posts by josef betancourt
Latest Posts From T. C. Mits

Advertisement
For development and unit testing you may need to force a promise chain to fail in various ways. In listing 1 below is shown a simple XHR request. Now to make sure our promise chain error handling is working correctly we want the Ajax call to fail. One way of achieving this to just change […]

Read: Force failure of JavaScript promise in Dojo

Topic: Agile outside of software Previous Topic   Next Topic Topic: Git, reconsidered

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use