public function UserDeveloperConversionUserFieldDoesNotExistException::__construct in Apigee Edge 8
UserDeveloperConversionUserFieldDoesNotExistException constructor.
Parameters
string $field_name: Name of the problematic field.
string $message: The Exception message.
int|null $code: The error code.
\Throwable|null $previous: The previous throwable used for the exception chaining.
File
- src/
Exception/ UserDeveloperConversionUserFieldDoesNotExistException.php, line 47
Class
- UserDeveloperConversionUserFieldDoesNotExistException
- Thrown when source or destination field on user does not exist.
Namespace
Drupal\apigee_edge\ExceptionCode
public function __construct(string $field_name, string $message = 'Field "@field" does not exist on user anymore.', ?int $code = NULL, ?\Throwable $previous = NULL) {
$message = strtr($message, [
'@field' => $field_name,
]);
$this->fieldName = $field_name;
parent::__construct($message, $code, $previous);
}