mirror of
https://github.com/proelements/proelements.git
synced 2026-04-06 04:13:48 +00:00
v3.33.1
This commit is contained in:
18
core/integrations/exceptions/action-failed-exception.php
Normal file
18
core/integrations/exceptions/action-failed-exception.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace ElementorPro\Core\Integrations\Exceptions;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
class Action_Failed_Exception extends Exception_Base {
|
||||
|
||||
protected function format_message( $message ) {
|
||||
return sprintf(
|
||||
'Action `%s` failed to run: %s',
|
||||
$this->action,
|
||||
$message
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user