oven-sh/bun · error · Error

StreamTooLong

Error message

StreamTooLong

What it means

Error "StreamTooLong" thrown in oven-sh/bun.

Source

Thrown at src/bun_core/error.rs:5

#[derive(Debug, Clone, Copy, PartialEq, Eq, thiserror::Error)]
pub enum Error {
    #[error("EndOfStream")]
    EndOfStream,
    #[error("StreamTooLong")]
    StreamTooLong,
    #[error("FmtError")]
    FmtError,
    #[error("Unexpected")]
    Unexpected,
    #[error("InvalidByteSequence")]
    InvalidByteSequence,
    #[error("StringTooLong")]
    StringTooLong,
    #[error("InvalidCharacter")]
    InvalidCharacter,
    // errno-category names kept local (bun_core cannot depend on bun_errno):
    #[error("NoSpaceLeft")]
    NoSpaceLeft,
    #[error("NameTooLong")]
    NameTooLong,
    #[error("FileNotFound")]
    FileNotFound,

View on GitHub (pinned to 8c5296ac45)

When it happens

Trigger: Thrown at src/bun_core/error.rs:5 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16). Data as JSON: /api/errors/7029e14b1c262d79. Report an issue: GitHub.