summaryrefslogtreecommitdiffstats
path: root/lib/public/Share
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-05-17 15:35:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-06-21 14:51:59 -0500
commitfd6357708940e68eb01c3761d404053366213bee (patch)
treef7e2c8a34fc76f6ffaf80f9b405f59e4a92b8cc3 /lib/public/Share
parent60edf2f18ab40439e2efb1d20e594f2797b6f31b (diff)
downloadnextcloud-server-fd6357708940e68eb01c3761d404053366213bee.tar.gz
nextcloud-server-fd6357708940e68eb01c3761d404053366213bee.zip
Improve wording of various error messages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'lib/public/Share')
-rw-r--r--lib/public/Share/Exceptions/GenericShareException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Share/Exceptions/GenericShareException.php b/lib/public/Share/Exceptions/GenericShareException.php
index 4a05d7a0340..8410a2d0037 100644
--- a/lib/public/Share/Exceptions/GenericShareException.php
+++ b/lib/public/Share/Exceptions/GenericShareException.php
@@ -40,7 +40,7 @@ class GenericShareException extends HintException {
*/
public function __construct($message = '', $hint = '', $code = 0, \Exception $previous = null) {
if (empty($message)) {
- $message = 'Unspecified share exception';
+ $message = 'There was an error retrieving the share. Maybe the link is wrong, it was unshared, or it was deleted.';
}
parent::__construct($message, $hint, $code, $previous);
}