You are here

MobileNumberException.php in Mobile Number 8

Same filename and directory in other branches
  1. 2.0.x src/Exception/MobileNumberException.php

File

src/Exception/MobileNumberException.php
View source
<?php

namespace Drupal\mobile_number\Exception;


/**
 * Exception thrown during mobile number testing if the number is invalid.
 */
class MobileNumberException extends \RuntimeException {
  const ERROR_INVALID_NUMBER = 1;
  const ERROR_WRONG_TYPE = 2;
  const ERROR_WRONG_COUNTRY = 3;
  const ERROR_NO_NUMBER = 4;

}

Classes

Namesort descending Description
MobileNumberException Exception thrown during mobile number testing if the number is invalid.