for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* YIKES Inc. Easy Mailchimp Forms Plugin.
*
* @package YIKES\EasyForms
* @author Freddie Mixell
* @license GPL2
*/
namespace YIKES\EasyForms\Exception;
* Class InvalidAssetHandle.
* @since %VERSION%
* @package YIKES\EasyForms\Exception
class InvalidAssetHandle extends \InvalidArgumentException implements Exception {
* Create a new instance of the exception for a asset handle that is not
* valid.
* @param int $handle Asset handle that is not valid.
* @return static
public static function from_handle( $handle ) {
$message = sprintf(
'The asset handle "%s" is not valid.',
$handle
);
return new static( $message );
}