Logo DataHubClient

NotFoundError Type

404 — the requested project, branch, issue, … does not exist.

Constructors

Constructor Description

NotFoundError(body)

Full Usage: NotFoundError(body)

Parameters:
    body : string

Returns: NotFoundError
body : string
Returns: NotFoundError

Inherited members

Inherited from DataHubError

Instance members

Instance member Description

this.StatusCode

Full Usage: this.StatusCode

Returns: int

The HTTP status code returned by the DataHub.

Returns: int

this.Body

Full Usage: this.Body

Returns: string

The raw response body, preserved for diagnostics.

Returns: string

Static members

Static member Description

DataHubError.FromResponse(response)

Full Usage: DataHubError.FromResponse(response)

Parameters:
    response : HttpResponse - The failed HTTP response to classify.

Returns: DataHubError An UnauthorizedError, NotFoundError, RateLimitedError, ServerError, or a plain DataHubError.

Maps an unsuccessful HttpResponse to the most specific error subclass.

response : HttpResponse

The failed HTTP response to classify.

Returns: DataHubError

An UnauthorizedError, NotFoundError, RateLimitedError, ServerError, or a plain DataHubError.

Type something to start searching.