From 07f1459e5726322b7fb22213b5d9ec88d11f4feb Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 1 Feb 2020 15:48:06 +0100 Subject: [PATCH] Add 4 more errors about polls and admin settings --- compiler/error/source/400_BAD_REQUEST.tsv | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compiler/error/source/400_BAD_REQUEST.tsv b/compiler/error/source/400_BAD_REQUEST.tsv index 0e8e0f35..32e306b4 100644 --- a/compiler/error/source/400_BAD_REQUEST.tsv +++ b/compiler/error/source/400_BAD_REQUEST.tsv @@ -137,4 +137,8 @@ QUIZ_MULTIPLE_INVALID A quiz can't have multiple answers QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty QUIZ_CORRECT_ANSWER_INVALID The correct answers of the quiz are invalid QUIZ_CORRECT_ANSWERS_TOO_MUCH The quiz contains too many correct answers -OPTIONS_TOO_MUCH The poll options are too many \ No newline at end of file +OPTIONS_TOO_MUCH The poll options are too many +POLL_ANSWERS_INVALID The poll answers are invalid +POLL_QUESTION_INVALID The poll question is invalid +FRESH_CHANGE_ADMINS_FORBIDDEN Recently logged-in users cannot change admins +BROADCAST_PUBLIC_VOTERS_FORBIDDEN Polls with public voters cannot be sent in channels \ No newline at end of file