cujojs/when — pull request #312 by briancavalier (2014-05-01 02:06:51+00:00)
Title: Add custom TimeoutError

Add `TimeoutError` and make `promise.timeout` use it for rejections by default. This allows pattern-matching via `catch(Promise.TimeoutError, handleTimeoutError)`.