Show / Hide Table of Contents

Class ErrorBuilder

Inheritance
Object
ErrorBuilder
Implements
IErrorBuilder
Namespace: Apod.Logic.Errors
Assembly: Apod.dll
Syntax
public class ErrorBuilder : object, IErrorBuilder

Constructors

| Improve this Doc View Source

ErrorBuilder(String)

Declaration
public ErrorBuilder(string dateFormat = "MMMM dd yyyy")
Parameters
Type Name Description
String dateFormat

Methods

| Improve this Doc View Source

GetApiKeyInvalidError()

Declaration
public ApodError GetApiKeyInvalidError()
Returns
Type Description
ApodError
| Improve this Doc View Source

GetApiKeyMissingError()

Declaration
public ApodError GetApiKeyMissingError()
Returns
Type Description
ApodError
| Improve this Doc View Source

GetBadRequestError(String)

Declaration
public ApodError GetBadRequestError(string errorMessage = "")
Parameters
Type Name Description
String errorMessage
Returns
Type Description
ApodError
| Improve this Doc View Source

GetCountOutOfRangeError()

Declaration
public ApodError GetCountOutOfRangeError()
Returns
Type Description
ApodError
| Improve this Doc View Source

GetDateOutOfRangeError(DateTime, DateTime)

Declaration
public ApodError GetDateOutOfRangeError(DateTime firstValidDate, DateTime lastValidDate)
Parameters
Type Name Description
DateTime firstValidDate
DateTime lastValidDate
Returns
Type Description
ApodError
| Improve this Doc View Source

GetInternalServiceError(String)

Declaration
public ApodError GetInternalServiceError(string errorMessage = "")
Parameters
Type Name Description
String errorMessage
Returns
Type Description
ApodError
| Improve this Doc View Source

GetOverRateLimitError()

Declaration
public ApodError GetOverRateLimitError()
Returns
Type Description
ApodError
| Improve this Doc View Source

GetStartDateAfterEndDateError()

Declaration
public ApodError GetStartDateAfterEndDateError()
Returns
Type Description
ApodError
| Improve this Doc View Source

GetTimeoutError()

Declaration
public ApodError GetTimeoutError()
Returns
Type Description
ApodError
| Improve this Doc View Source

GetUnknownError(String)

Declaration
public ApodError GetUnknownError(string errorMessage = "")
Parameters
Type Name Description
String errorMessage
Returns
Type Description
ApodError

Implements

IErrorBuilder
  • Improve this Doc
  • View Source
Back to top Generated by DocFX