Page MenuHomeDevCentral

ActionError.php
No OneTemporary

ActionError.php

<?php
namespace Nasqueron\Notifications\Actions;
class ActionError {
/**
* Exception type
*
* @var string
*/
public $type;
/**
* Exception message
*
* @var string
*/
public $message;
/**
* Initializes a new action error report instance from the specified Exception
*/
public function __construct (\Exception $ex) {
$this->type = get_class($ex);
$this->message = $ex->getMessage();
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jul 29, 13:51 (20 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2755097
Default Alt Text
ActionError.php (484 B)

Event Timeline