log_analysis/types/
error.rs

1// default log path: /usr/local/zeek or /opt/zeek or custom/path/
2// https://docs.zeek.org/en/master/quickstart.html#filesystem-walkthrough
3
4#[derive(Debug, PartialEq, Eq)]
5pub enum
6ErrorType
7{
8    Unspecified,
9    PathNotFound,
10    PathPrefixUnspecified,
11    ZeekProtocolNotFound,
12    SearchInvalidStartDate,
13    SearchInvalidEndDate,
14    SearchInsufficientParams,
15    NoLogHeader,
16}
17pub type Error = ErrorType;
18