public
__construct
(string $reason, string $message = '', int $code = 0, \Throwable $previous = null)
/**
* Constructor.
*
* @param string $reason The reason why mail is disabled.
* @param string $message The Exception message to throw.
* @param integer $code The Exception code.
* @param \Throwable $previous The previous exception used for the exception chaining.
*
* @since 4.0.0
*/
public function __construct(string $reason, string $message = '', int $code = 0, \Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
$this->reason = $reason;
}