protected function S3fsStream::triggerError in S3 File System 8.3
Same name and namespace in other branches
- 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::triggerError()
Triggers one or more errors.
Parameters
string|array $errors: Errors to trigger.
mixed $flags: If set to STREAM_URL_STAT_QUIET, no error or exception is triggered.
Return value
bool Always returns FALSE.
File
- src/
StreamWrapper/ S3fsStream.php, line 1446
Class
- S3fsStream
- Defines a Drupal s3 (s3://) stream wrapper class.
Namespace
Drupal\s3fs\StreamWrapperCode
protected function triggerError($errors, $flags = NULL) {
if ($flags != STREAM_URL_STAT_QUIET) {
trigger_error(implode("\n", (array) $errors), E_USER_ERROR);
}
$this->errorState = TRUE;
return FALSE;
}