Search documentation of Plushie

# Plushie.Transport.BufferOverflowError exception (Plushie v0.7.2)

Copy Markdown View Source

Raised when a single wire frame exceeds the protocol's per-message size cap (64 MiB).

Emitted by `Plushie.Transport.Framing` when a length prefix or a JSONL line declares or delivers more bytes than the cap allows. Hosts let it propagate out of the framing layer; continuing past this point would either corrupt the stream or grow the process's memory unboundedly.

## Fields

- `:size` - offending message size in bytes.
- `:limit` - configured per-message cap in bytes.

## Summary

### Types

t()

## Types

# t()

    @type t() :: %Plushie.Transport.BufferOverflowError{
      __exception__: true,
      limit: non_neg_integer(),
      message: String.t(),
      size: non_neg_integer()
    }