You are here

public function DeveloperUpdateFailedException::__construct in Apigee Edge 8

DeveloperUpdateFailedException constructor.

Parameters

string $email: Developer email.

string $message: Exception message.

int $code: Error code.

\Throwable|null $previous: Previous exception.

File

src/Exception/DeveloperUpdateFailedException.php, line 48

Class

DeveloperUpdateFailedException
This exception is thrown when the developer profile update fails.

Namespace

Drupal\apigee_edge\Exception

Code

public function __construct(string $email, string $message = 'Developer @email profile update failed.', int $code = 0, \Throwable $previous = NULL) {
  $this->email = $email;
  $message = strtr($message, [
    '@email' => $email,
  ]);
  parent::__construct($message, $code, $previous);
}