Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121915521
PhutilConsoleStdinNotInteractiveException.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, Jul 14, 19:44
Size
553 B
Mime Type
text/x-php
Expires
Wed, Jul 16, 19:44 (2 d)
Engine
blob
Format
Raw Data
Handle
27412726
Attached To
rPHU libphutil
PhutilConsoleStdinNotInteractiveException.php
View Options
<?php
/**
* Thrown when you prompt the user with @{function:phutil_console_prompt} or
* @{function:phutil_console_confirm} but stdin is not an interactive TTY so
* the user can't possibly respond. Usually this means the user ran the command
* with something piped into stdin.
*/
final
class
PhutilConsoleStdinNotInteractiveException
extends
Exception
{
public
function
__construct
()
{
parent
::
__construct
(
'The program is attempting to read user input, but stdin is being piped '
.
'from some other source (not a TTY).'
);
}
}
Event Timeline
Log In to Comment