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;
public function __construct (\Exception $ex) {
$this->type = class_basename(get_class($ex));
$this->message = $ex->getMessage();
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 11, 22:42 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064235
Default Alt Text
ActionError.php (401 B)

Event Timeline