forked from standardebooks/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor HttpInput::Str and rename some exceptions for consistency
- Loading branch information
Showing
54 changed files
with
163 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/Exceptions/InvalidArtistException.php → lib/Exceptions/ArtistNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class InvalidArtistException extends AppException{ | ||
class ArtistNotFoundException extends AppException{ | ||
protected $message = 'We couldn’t locate that artist.'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class AuthorNotFoundException extends AppException{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class CollectionNotFoundException extends AppException{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class EbookNotFoundException extends AppException{ | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...nvalidNewsletterSubscriptionException.php → ...wsletterSubscriptionNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class InvalidNewsletterSubscriptionException extends AppException{ | ||
class NewsletterSubscriptionNotFoundException extends AppException{ | ||
protected $message = 'We couldn’t find you in our newsletter subscribers list.'; | ||
} |
2 changes: 1 addition & 1 deletion
2
lib/Exceptions/InvalidPollItemException.php → lib/Exceptions/PollItemNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class InvalidPollItemException extends AppException{ | ||
class PollItemNotFoundException extends AppException{ | ||
protected $message = 'We couldn’t locate that poll item.'; | ||
} |
2 changes: 1 addition & 1 deletion
2
lib/Exceptions/InvalidPollException.php → lib/Exceptions/PollNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class InvalidPollException extends AppException{ | ||
class PollNotFoundException extends AppException{ | ||
protected $message = 'We couldn’t locate that poll.'; | ||
} |
2 changes: 1 addition & 1 deletion
2
lib/Exceptions/InvalidPollVoteException.php → lib/Exceptions/PollVoteNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class InvalidPollVoteException extends AppException{ | ||
class PollVoteNotFoundException extends AppException{ | ||
protected $message = 'We couldn’t locate that vote.'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class SessionNotFoundException extends AppException{ | ||
} |
2 changes: 1 addition & 1 deletion
2
lib/Exceptions/InvalidUserException.php → lib/Exceptions/UserNotFoundException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<? | ||
namespace Exceptions; | ||
|
||
class InvalidUserException extends AppException{ | ||
class UserNotFoundException extends AppException{ | ||
protected $message = 'We couldn’t locate that user.'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.