MCPcopy Create free account
hub / github.com/Scriptim/bash-prompt-generator / constructor

Method constructor

src/lib/promptParser.ts:20–23  ·  view source on GitHub ↗

* Creates a new prompt parser error. * * @param message The error message should be capitalized and not end with a period. * @param ps1 The prompt string given by the user. * @param cursor The position in the prompt string where the error occurred. * @param length The number of charac

(message: string, ps1: string, cursor: number, length = 5)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected