View Source KafkaEx.New.Structs.Error (kafka_ex v0.15.0)

This module represents kafka error as a struct with code and metadata

Summary

Types

@type error_code() :: KafkaEx.Types.error_code() | atom()
@type t() :: %KafkaEx.New.Structs.Error{error: atom() | nil, metadata: term()}

Functions

Link to this function

build(error_code, metadata)

View Source
@spec build(error_code(), term()) :: t()