Quaero.REST.Exceptions.NotFound

Quaero.REST.Exceptions.NotFound

Quaero.REST.Exceptions.NotFound Class

public class Quaero.REST.Exceptions.NotFound;
A named object on an endpoint was not found.

Constructor

new Quaero.REST.Exceptions.NotFound(System.String obj, System.String name, System.Net.Http.HttpResponseMessage resp);
A remote object was not found. We failed to fetch an object via the REST API. In other words, http://quaero.local.lan/dw/v1/obj/name returned 404.

Parameters

obj
Type of object.
[System.String]
name
Name of object.
[System.String]
resp
HTTP response.
[System.Net.Http.HttpResponseMessage]

request Property

System.Net.Http.HttpRequestMessage (Quaero.REST.Exceptions.NotFound)notfound.request;
Returns the HTTP request that failed.

uri Property

System.Uri (Quaero.REST.Exceptions.NotFound)notfound.uri;
Returns the URI of the HTTP request that failed.

aggregate() Method

void Quaero.REST.Exceptions.NotFound.aggregate();
Set the name of the Aggregate that wasn't found.

Message Property

System.String (Quaero.REST.Exceptions.NotFound)notfound.Message;
Short message describing the exception.