Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104574520
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
Mon, Mar 10, 14:33
Size
399 B
Mime Type
text/x-php
Expires
Wed, Mar 12, 14:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24814967
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