Skip to content

Rule.io SDK


Rule.io SDK / rcml/src / SmsDocumentErrorCodes

Variable: SmsDocumentErrorCodes

const SmsDocumentErrorCodes: object

Defined in: rcml/src/sms/validate-sms-document.ts:22

Machine-readable error codes emitted by validateSmsDocument and safeValidateSmsDocument.

Type Declaration

CONTENT_INVALID

readonly CONTENT_INVALID: "CONTENT_INVALID" = 'CONTENT_INVALID'

CONTENT_REQUIRED

readonly CONTENT_REQUIRED: "CONTENT_REQUIRED" = 'CONTENT_REQUIRED'

STRUCTURE_INVALID

readonly STRUCTURE_INVALID: "STRUCTURE_INVALID" = 'STRUCTURE_INVALID'