Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10341913
ActionError.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
588 B
Referenced Files
None
Subscribers
None
ActionError.php
View Options
<?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
*
* @param \Exception $ex The exception to build an ActionError instance from
*/
public
function
__construct
(
\Exception
$ex
)
{
$this
->
type
=
class_basename
(
get_class
(
$ex
));
$this
->
message
=
$ex
->
getMessage
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jul 2, 21:31 (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2779815
Default Alt Text
ActionError.php (588 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment