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. |