Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83471491
DrydockCommandError.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 17, 07:58
Size
399 B
Mime Type
text/x-php
Expires
Thu, Sep 19, 07:58 (2 d)
Engine
blob
Format
Raw Data
Handle
20843923
Attached To
rPH Phabricator
DrydockCommandError.php
View Options
<?php
class
DrydockCommandError
{
public
static
function
newFromCommandException
(
$phase
,
$command
,
CommandException
$ex
)
{
$error
=
array
(
'phase'
=>
$phase
,
'command'
=>
(
string
)
$command
,
'raw'
=>
(
string
)
$ex
->
getCommand
(),
'err'
=>
$ex
->
getError
(),
'stdout'
=>
$ex
->
getStdout
(),
'stderr'
=>
$ex
->
getStderr
(),
);
return
$error
;
}
}
Event Timeline
Log In to Comment