Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ErrorReason

import type { ErrorReason } from "https://aws-api.deno.dev/v0.3/services/servicequotas.ts?docs=full";

An error that explains why an action did not succeed.

interface ErrorReason {
ErrorCode?: ErrorCode | null;
ErrorMessage?: string | null;
}

§Properties

§
ErrorCode?: ErrorCode | null
[src]

Service Quotas returns the following error values:

  • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the service or quota.
  • DEPENDENCY_THROTTLING_ERROR - The service is throttling Service Quotas.
  • DEPENDENCY_SERVICE_ERROR - The service is not available.
  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.
§
ErrorMessage?: string | null
[src]

The error message.