You are here

public function DeveloperDoesNotExistException::__construct in Apigee Edge 8

DeveloperDoesNotExistException constructor.

Parameters

string $email: Developer email.

string $message: Exception message.

int $code: Error code.

\Throwable|null $previous: Previous exception.

File

src/Exception/DeveloperDoesNotExistException.php, line 48

Class

DeveloperDoesNotExistException
This exception is thrown when the developer for a user cannot be loaded.

Namespace

Drupal\apigee_edge\Exception

Code

public function __construct(string $email, string $message = 'Developer with @email email address not found. Running the developer sync could fix this.', int $code = 0, \Throwable $previous = NULL) {
  $this->email = $email;
  $message = strtr($message, [
    '@email' => $email,
  ]);
  parent::__construct($message, $code, $previous);
}