exceptions.php 493 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * This file is part of the Nette Framework (https://nette.org)
  4. * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
  5. */
  6. namespace Nette\Mail;
  7. use Nette;
  8. /**
  9. * Exception thrown when a mail sending error is encountered.
  10. */
  11. class SendException extends Nette\InvalidStateException
  12. {
  13. }
  14. /**
  15. * SMTP mailer exception.
  16. */
  17. class SmtpException extends SendException
  18. {
  19. }
  20. class FallbackMailerException extends SendException
  21. {
  22. /** @var SendException[] */
  23. public $failures;
  24. }