Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories

ApprovedDirectoriesException{}WC 1.0

Encapsulates a problem encountered while an operation relating to approved directories was performed.

Хуков нет.

Использование

$ApprovedDirectoriesException = new ApprovedDirectoriesException();
// use class methods

Методы

Нет Методов у класса.

Код ApprovedDirectoriesException{} WC 6.7.0

class ApprovedDirectoriesException extends Exception {
	public const INVALID_URL = 1;
	public const DB_ERROR    = 2;
}