Rexd.StreamError exception (Rexd v1.0.0)

Copy Markdown View Source

Raised while a Rexd.Stream enumerable is consumed and its input turns out to be invalid.

reason uses the same terms as the error tuples of the non-streaming API, for example {:bad_magic, magic}, :truncated, {:copy_out_of_range, offset, length} or {:output_too_large, size, max_size}.

Summary

Types

t()

@type t() :: %Rexd.StreamError{__exception__: true, reason: term()}