public function DeveloperToUserConversionAttributeDoesNotExistException::__construct in Apigee Edge 8
DeveloperToUserConversionAttributeDoesNotExistException constructor.
Parameters
string $attribute_name: Name of the attribute.
\Drupal\apigee_edge\Entity\DeveloperInterface $developer: Developer object.
string $message: The Exception message.
int $code: The error code.
\Throwable|null $previous: The previous throwable used for the exception chaining.
Overrides DeveloperToUserConversionException::__construct
File
- src/
Exception/ DeveloperToUserConversionAttributeDoesNotExistException.php, line 51
Class
- DeveloperToUserConversionAttributeDoesNotExistException
- Thrown when source attribute does not exist in developer.
Namespace
Drupal\apigee_edge\ExceptionCode
public function __construct(string $attribute_name, DeveloperInterface $developer, string $message = '"@attribute" attribute does not exist in "@developer" developer.', int $code = 0, ?\Throwable $previous = NULL) {
$this->attributeName = $attribute_name;
$message = strtr($message, [
'@attribute' => $attribute_name,
]);
parent::__construct($developer, $message, $code, $previous);
}