Standard Error

Noun · Development

Definitions

  1. The default output stream (file descriptor 2, or stderr) used by programs to emit error messages, warnings, and diagnostic information, separate from standard output (stdout). This separation allows users to redirect normal output to a file or pipe while still seeing errors in the terminal, or to capture errors independently.

    In plain English: A separate channel programs use specifically for error messages, so they don't get mixed in with the regular output.

    Example: "Log to stderr so that when someone pipes our output to jq, the error messages don't corrupt the JSON stream."

Related Terms