<span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> Result errValue).toThrow _argError <span class="hljs-string">'Invalid argument'</span>, <span class="hljs-string">'pathFuncOrResult'</span>, errValue

  check <span class="hljs-string">"add path to message as parameter"</span>, <span class="hljs-function">-&gt;</span>

    result = <span class="hljs-keyword">new</span> Result

    expect(result.log <span class="hljs-string">'error'</span>, (Result.prop <span class="hljs-string