mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
Better error handling when loading configurations
This commit is contained in:
@@ -78,6 +78,7 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -95,6 +96,10 @@ namespace modsecurity {
|
||||
*/
|
||||
using ModSecString = std::string;
|
||||
|
||||
using RulesErrors = std::vector<std::unique_ptr<std::string>>;
|
||||
using RulesWarnings = std::vector<std::unique_ptr<std::string>>;
|
||||
|
||||
|
||||
using RuleId = int64_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user