Assertion: graph's type | /r/HasProperty | error
Facets:
Source sentences:
text: { $type : " error " ,
text: stringify ( jsonGraphEnvelope , null , 4 )); }); // prints the following to the console if the user service times out // { // jsonGraph: { // user: { // $type: "error", // value: "request timed out" // } // } // }
text: then ( function ( user ) { return { path : [ ' user ' , ' name ' ], value : user . name }; }, function ( error ) { return { path : [ ' user ' ], value : { $type : ' error ' , value : error .