Module: Mailkube::ErrorName

Defined in:
lib/mailkube/errors.rb,
sig/mailkube/errors.rbs

Overview

The documented values of the error envelope's name field.

These are constants for discoverability, not a closed set: APIError#error_name stays a plain String, so a name this release has never heard of is reported verbatim instead of crashing an older client. The list tracks the public error reference and the other SDKs; add a constant when the API adds a name.

Constant Summary collapse

APPLICATION_ERROR =

Returns:

  • (String)
"application_error"
BODY_CONTENT_REJECTED =

Returns:

  • (String)
"body_content_rejected"
BROWSER_NOT_ALLOWED =

Returns:

  • (String)
"browser_not_allowed"
CONCURRENT_IDEMPOTENT_REQUESTS =

Returns:

  • (String)
"concurrent_idempotent_requests"
FROM_DOMAIN_NOT_ALLOWED =

Returns:

  • (String)
"from_domain_not_allowed"
INVALID_API_KEY =

Returns:

  • (String)
"invalid_api_key"
INVALID_ATTACHMENT =

Returns:

  • (String)
"invalid_attachment"
INVALID_FROM_ADDRESS =

Returns:

  • (String)
"invalid_from_address"
INVALID_IDEMPOTENCY_KEY =

Returns:

  • (String)
"invalid_idempotency_key"
INVALID_IDEMPOTENT_REQUEST =

Returns:

  • (String)
"invalid_idempotent_request"
INVALID_REQUEST_BODY =

Returns:

  • (String)
"invalid_request_body"
"link_reputation_blocked"
MAX_MESSAGE_SIZE_EXCEEDED =

Returns:

  • (String)
"max_message_size_exceeded"
MAX_RECIPIENTS_EXCEEDED =

Returns:

  • (String)
"max_recipients_exceeded"
METHOD_NOT_ALLOWED =

Returns:

  • (String)
"method_not_allowed"
MISSING_REQUIRED_FIELD =

Returns:

  • (String)
"missing_required_field"
MISSING_REQUIRED_VARIABLE =

Returns:

  • (String)
"missing_required_variable"
MISSING_USER_AGENT =

Returns:

  • (String)
"missing_user_agent"
NOT_ACCEPTABLE =

Returns:

  • (String)
"not_acceptable"
QUOTA_EXCEEDED =

Returns:

  • (String)
"quota_exceeded"
RATE_LIMIT_EXCEEDED =

Returns:

  • (String)
"rate_limit_exceeded"
SCHEDULED_EMAIL_NOT_FOUND =

Returns:

  • (String)
"scheduled_email_not_found"
SCHEDULED_EMAIL_NOT_PENDING =

Returns:

  • (String)
"scheduled_email_not_pending"
SCHEDULING_NOT_INCLUDED =

Returns:

  • (String)
"scheduling_not_included"
TEMPLATE_NOT_FOUND =

Returns:

  • (String)
"template_not_found"
TEMPLATE_NOT_PUBLISHED =

Returns:

  • (String)
"template_not_published"
TOPIC_DISABLED =

Returns:

  • (String)
"topic_disabled"
TOPIC_NOT_FOUND =

Returns:

  • (String)
"topic_not_found"
UNSUPPORTED_MEDIA_TYPE =

Returns:

  • (String)
"unsupported_media_type"
VALIDATION_ERROR =

Returns:

  • (String)
"validation_error"