(handler)
| 2997 | } |
| 2998 | |
| 2999 | then(handler) { |
| 3000 | if (!this._error) { |
| 3001 | try { |
| 3002 | this._value = handler(this._value); |
| 3003 | } catch (e) { |
| 3004 | this._value = e; |
| 3005 | this._error = true; |
| 3006 | } |
| 3007 | } |
| 3008 | return this; |
| 3009 | } |
| 3010 | |
| 3011 | catch(handler) { |
| 3012 | if (this._error) { |
no test coverage detected