Skip to content

Commit 464a071

Browse files
committed
exception: use natural explanatory style
1 parent 21e7efa commit 464a071

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Mail/exceptions.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,34 @@
1313

1414

1515
/**
16-
* Exception thrown when a mail sending error is encountered.
16+
* Failed to send the email.
1717
*/
1818
class SendException extends Nette\InvalidStateException
1919
{
2020
}
2121

2222

2323
/**
24-
* SMTP mailer exception.
24+
* Failed to communicate with the SMTP server.
2525
*/
2626
class SmtpException extends SendException
2727
{
2828
}
2929

3030

31+
/**
32+
* All configured mailers failed to send the email.
33+
*/
3134
class FallbackMailerException extends SendException
3235
{
3336
/** @var SendException[] */
3437
public array $failures;
3538
}
3639

3740

41+
/**
42+
* Failed to create or verify the email signature.
43+
*/
3844
class SignException extends SendException
3945
{
4046
}

0 commit comments

Comments
 (0)