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 =
"application_error"- BODY_CONTENT_REJECTED =
"body_content_rejected"- BROWSER_NOT_ALLOWED =
"browser_not_allowed"- CONCURRENT_IDEMPOTENT_REQUESTS =
"concurrent_idempotent_requests"- FROM_DOMAIN_NOT_ALLOWED =
"from_domain_not_allowed"- INVALID_API_KEY =
"invalid_api_key"- INVALID_ATTACHMENT =
"invalid_attachment"- INVALID_FROM_ADDRESS =
"invalid_from_address"- INVALID_IDEMPOTENCY_KEY =
"invalid_idempotency_key"- INVALID_IDEMPOTENT_REQUEST =
"invalid_idempotent_request"- INVALID_REQUEST_BODY =
"invalid_request_body"- LINK_REPUTATION_BLOCKED =
"link_reputation_blocked"- MAX_MESSAGE_SIZE_EXCEEDED =
"max_message_size_exceeded"- MAX_RECIPIENTS_EXCEEDED =
"max_recipients_exceeded"- METHOD_NOT_ALLOWED =
"method_not_allowed"- MISSING_REQUIRED_FIELD =
"missing_required_field"- MISSING_REQUIRED_VARIABLE =
"missing_required_variable"- MISSING_USER_AGENT =
"missing_user_agent"- NOT_ACCEPTABLE =
"not_acceptable"- QUOTA_EXCEEDED =
"quota_exceeded"- RATE_LIMIT_EXCEEDED =
"rate_limit_exceeded"- SCHEDULED_EMAIL_NOT_FOUND =
"scheduled_email_not_found"- SCHEDULED_EMAIL_NOT_PENDING =
"scheduled_email_not_pending"- SCHEDULING_NOT_INCLUDED =
"scheduling_not_included"- TEMPLATE_NOT_FOUND =
"template_not_found"- TEMPLATE_NOT_PUBLISHED =
"template_not_published"- TOPIC_DISABLED =
"topic_disabled"- TOPIC_NOT_FOUND =
"topic_not_found"- UNSUPPORTED_MEDIA_TYPE =
"unsupported_media_type"- VALIDATION_ERROR =
"validation_error"