Exceptions & Warnings¶
Exceptions & warnings.
-
exception
zlogging._exc.ParserError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ZeekException,ValueErrorError when parsing logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.JSONParserError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ParserError,json.decoder.JSONDecodeErrorError when parsing JSON log.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.ASCIIPaserError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ParserErrorError when parsing ASCII log.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.WriterError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.ZeekException,TypeErrorError when writing logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.JSONWriterError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.WriterErrorError when writing JSON logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.ASCIIWriterError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.WriterErrorError when writing ASCII logs.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.WriterFormatError(msg, lineno=None, field=None)[source]¶ Bases:
zlogging._exc.WriterError,ValueErrorUnsupported format.
- Parameters
- Variables
- Return type
-
exception
zlogging._exc.ParserWarning[source]¶ Bases:
zlogging._exc.ZeekWarning,UserWarningWarning when parsing logs.
-
exception
zlogging._exc.JSONParserWarning[source]¶ Bases:
zlogging._exc.ParserWarningWarning when parsing logs in JSON format.
-
exception
zlogging._exc.ASCIIParserWarning[source]¶ Bases:
zlogging._exc.ParserWarningWarning when parsing logs in ASCII format.
-
exception
zlogging._exc.ZeekTypeError[source]¶ Bases:
zlogging._exc.ZeekException,TypeErrorInvalid Bro/Zeek data type.
-
exception
zlogging._exc.ZeekValueError[source]¶ Bases:
zlogging._exc.ZeekException,ValueErrorInvalid Bro/Zeek data value.
-
exception
zlogging._exc.ZeekNotImplemented[source]¶ Bases:
zlogging._exc.ZeekException,NotImplementedErrorMethod not implemented.
-
exception
zlogging._exc.ModelError[source]¶ Bases:
zlogging._exc.ZeekExceptionInvalid model data.
-
exception
zlogging._exc.ModelTypeError[source]¶ Bases:
zlogging._exc.ModelError,TypeErrorInvalid model data type.
-
exception
zlogging._exc.ModelValueError[source]¶ Bases:
zlogging._exc.ModelError,ValueErrorInvalid model data value.
-
exception
zlogging._exc.ModelFormatError[source]¶ Bases:
zlogging._exc.ModelError,ValueErrorUnsupported format.
-
exception
zlogging._exc.ZeekValueWarning[source]¶ Bases:
zlogging._exc.ZeekWarning,UserWarningDubious Bro/Zeek data value.
-
exception
zlogging._exc.BroDeprecationWarning[source]¶ Bases:
zlogging._exc.ZeekWarning,DeprecationWarningBro is now deprecated, use Zeek instead.