Constructor
new ValueSerializationError(e)
This constructor is meant to be used by the library.
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Error | string | the error thrown by the value serializer. |
Extends
Members
abortable :boolean
Whether the error is abortable (for transactional producer).
Type:
- boolean
- Overrides:
cause :Error|null
The error thrown by the serializer, or null if it threw a non-Error.
Type:
- Error | null
- Overrides:
code :number
The error code from Librdkafka.
This field should be checked (as opposed to the type of the error) to determine what sort of an error this is.
Type:
- number
- Overrides:
- See:
-
- RdKafka.LibrdKafkaError.codes For a list of error codes that can be returned.
fatal :boolean
Whether the error is fatal (for transactional producer).
Type:
- boolean
- Overrides:
message :string
Message detailing the error.
Type:
- string
- Overrides:
name :string
Name of the error.
Type:
- string
- Overrides:
retriable :boolean
Whether the error is retriable (for transactional producer).
Type:
- boolean
- Overrides:
stack
The stack trace of the error.
- Overrides: