(err)
| 105 | }; |
| 106 | |
| 107 | function next(err) { |
| 108 | if(!(behavior && behavior.next)) { |
| 109 | throw new Error('should not call next'); |
| 110 | } |
| 111 | if(behavior && behavior.done) behavior.done(err); |
| 112 | } |
| 113 | |
| 114 | resource.handle(context, next); |
| 115 | }; |
no outgoing calls
no test coverage detected