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:
parent
4d31323bb1
commit
ec80734625
4 changed files with 29 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue