소스 검색

Add postRemoved error

sbkwgh 8 년 전
부모
커밋
4ff67cba08
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lib/errors.js

+ 1 - 0
lib/errors.js

@@ -11,6 +11,7 @@ let Errors = {
 	passwordSame: 'You can\'t set it to the same password',
 	cannotLikeOwnPost: 'You can\'t like your own post',
 	threadLocked: 'You can\'t post to a locked thread',
+	postRemoved: 'You can\'t reply to a removed post',
 	invalidParameter (param, message) {
 		if(message) {
 			var punctuatedMessage = ': ' + message