@sports-app/shared — the wire contract
    Preparing search index...

    Variable ErrorResponseConst

    ErrorResponse: TObject<{ error: TString; limit: TOptional<TNumber> }> = ...

    Every non-2xx body on every route: one error string, and on a 413 the limit that was exceeded.

    The string never echoes any part of the request. A rejected username states the rule rather than repeating the value, because echoing it would put attacker-controlled text into a body some client will eventually render.