Show / Hide Table of Contents

Enum ApodStatusCode

The status code of an ApodResponse.

Namespace: Apod
Assembly: Apod.dll
Syntax
public enum ApodStatusCode : int
Remarks

Not to be confused with ApodErrorCode.

Examples
if (response.StatusCode != ApodStatusCode.OK)
{
    // handle errors
    return;
}

Fields

Name Description
Error

The response does not contain any APODs. See the Error of the ApodResponse for more information about the error.

OK

The response contains at least one Astronomy Picture of the Day.

See Also
ApodResponse
ApodError
ApodErrorCode
  • Improve this Doc
  • View Source
Back to top Generated by DocFX