1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-10 15:10:33 +00:00

Add http status codes and save dummy error into the mstch context.

This commit is contained in:
King_DuckZ 2017-05-14 03:38:41 +01:00
commit ec80734625
4 changed files with 29 additions and 9 deletions

View file

@ -17,10 +17,14 @@
#pragma once
#include "enum.h"
namespace tawashi {
enum ErrorReasons : int {
BETTER_ENUM(ErrorReasons, int,
PostLengthNotInRange,
PastieNotSaved,
UserFlooding
};
UserFlooding,
UnkownReason,
RedisDisconnected
)
} //namespace tawashi