APIError

API error response

Federal GovernmentInternational DevelopmentAfricaGrantsNonprofitEconomic Development

Properties

Name Type Description
errorCode string Error code
errorMessage string Human-readable error message
View JSON Schema on GitHub

JSON Schema

grant-opportunities-api-apierror-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.usadf.gov/schema/apierror.json",
  "title": "APIError",
  "description": "API error response",
  "type": "object",
  "properties": {
    "errorCode": {
      "description": "Error code",
      "type": "string",
      "example": "NOT_FOUND"
    },
    "errorMessage": {
      "description": "Human-readable error message",
      "type": "string",
      "example": "Grant opportunity not found."
    }
  }
}