UNPKG

zellige.js

Version:

A Moroccan utility library for working with CIN, phone numbers, currency, addresses, dates, and more.

15 lines (14 loc) 563 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ERRORS = void 0; exports.ERRORS = { REQUIRED: 'Phone number is required', INVALID_FORMAT: 'Invalid phone number format', INVALID_PREFIX: 'Invalid phone number prefix', INVALID_LENGTH: 'Invalid phone number length', UNKNOWN_OPERATOR: 'Unknown operator', UNKNOWN_TYPE: 'Unknown phone type', EMPTY_INPUT: 'Phone number cannot be empty', INVALID_COUNTRY: 'Invalid country code', INVALID_CHARACTERS: 'Phone number contains invalid characters', };