           x
 
       hinoki.get(c, 'a').catch hinoki.errors.ErrorInResolvers, (error) ->
-        test.equal error.message, "error in resolvers for 'a' (a). original error message: fail"
+        test.equal error.message, "error in resolvers for 'a' (a). original error: Error: fail"
         test.deepEqual error.path, ['a']
         test.equal error.error, x
         test.ok not c.promisesAwaitingResolution?

          throw x

      hinoki.get(c, 'a').catch hinoki.errors.ErrorInResolvers, (error) ->
        test.equal error.message, "error in resolvers for 'a' (a). original error message: fail"
        test.deepEqual error.path, ['a']
        test.equal error.error, x
        test.ok not c.promisesAwaitingResolution?

        a: -> throw exception

    hinoki.get(c, 'a').catch hinoki.errors.ErrorInFactory, (error) ->
      test.equal error.message, "error in factory for 'a'. original error: Error: fail"
      test.deepEqual error.path, ['a']
      test.equal error.container, c
      test.equal error.error, exception
