errorKeys) === 0) { throw new Exception('Tried to throw a ValidationException, but the validation model was valid or had 0 error keys!'); } parent::__construct(implode(",", $validationModel->errorKeys), "Validation Failed. Error keys are available in the message section.", 400); } }