Exceptions & Warnings¶
Exceptions & warnings.
-
exception
zlogging._exc.
ParserError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ZeekException
,ValueError
Error when parsing logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
JSONParserError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ParserError
,json.decoder.JSONDecodeError
Error when parsing JSON log.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
ASCIIPaserError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ParserError
Error when parsing ASCII log.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
WriterError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ZeekException
,TypeError
Error when writing logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
JSONWriterError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.WriterError
Error when writing JSON logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
ASCIIWriterError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.WriterError
Error when writing ASCII logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
WriterFormatError
(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.WriterError
,ValueError
Unsupported format.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.
ParserWarning
[source]¶ Bases:
zlogging._exc.ZeekWarning
,UserWarning
Warning when parsing logs.
-
exception
zlogging._exc.
JSONParserWarning
[source]¶ Bases:
zlogging._exc.ParserWarning
Warning when parsing logs in JSON format.
-
exception
zlogging._exc.
ASCIIParserWarning
[source]¶ Bases:
zlogging._exc.ParserWarning
Warning when parsing logs in ASCII format.
-
exception
zlogging._exc.
ZeekTypeError
[source]¶ Bases:
zlogging._exc.ZeekException
,TypeError
Invalid Bro/Zeek data type.
-
exception
zlogging._exc.
ZeekValueError
[source]¶ Bases:
zlogging._exc.ZeekException
,ValueError
Invalid Bro/Zeek data value.
-
exception
zlogging._exc.
ZeekNotImplemented
[source]¶ Bases:
zlogging._exc.ZeekException
,NotImplementedError
Method not implemented.
-
exception
zlogging._exc.
ModelError
[source]¶ Bases:
zlogging._exc.ZeekException
Invalid model data.
-
exception
zlogging._exc.
ModelTypeError
[source]¶ Bases:
zlogging._exc.ModelError
,TypeError
Invalid model data type.
-
exception
zlogging._exc.
ModelValueError
[source]¶ Bases:
zlogging._exc.ModelError
,ValueError
Invalid model data value.
-
exception
zlogging._exc.
ModelFormatError
[source]¶ Bases:
zlogging._exc.ModelError
,ValueError
Unsupported format.
-
exception
zlogging._exc.
ZeekValueWarning
[source]¶ Bases:
zlogging._exc.ZeekWarning
,UserWarning
Dubious Bro/Zeek data value.
-
exception
zlogging._exc.
BroDeprecationWarning
[source]¶ Bases:
zlogging._exc.ZeekWarning
,DeprecationWarning
Bro is now deprecated, use Zeek instead.