diff --git a/src/Database/Validator/Authorization.php b/src/Database/Validator/Authorization.php index dc46fc653..1d08d3e38 100644 --- a/src/Database/Validator/Authorization.php +++ b/src/Database/Validator/Authorization.php @@ -25,7 +25,7 @@ class Authorization extends Validator /** * @var string */ - protected $message = 'Unknown Error'; + protected $message = 'Authorization Error'; /** * Structure constructor. diff --git a/src/Database/Validator/Permissions.php b/src/Database/Validator/Permissions.php index 1dfc43aaa..964ba6bcf 100644 --- a/src/Database/Validator/Permissions.php +++ b/src/Database/Validator/Permissions.php @@ -10,7 +10,7 @@ class Permissions extends Validator /** * @var string */ - protected $message = 'Unknown Error'; + protected $message = 'Permissions Error'; /** * @var Document diff --git a/src/Database/Validator/Structure.php b/src/Database/Validator/Structure.php index 357c2be33..15db5a1de 100644 --- a/src/Database/Validator/Structure.php +++ b/src/Database/Validator/Structure.php @@ -89,7 +89,7 @@ class Structure extends Validator /** * @var string */ - protected $message = 'Unknown Error'; + protected $message = 'General Error'; /** * Structure constructor. @@ -110,7 +110,7 @@ class Structure extends Validator */ public function getDescription() { - return 'Invalid document (#'.$this->id.'): '.$this->message; + return 'Invalid document structure: '.$this->message; } /**