Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / SecretRefParseErrorKind

Type Alias: SecretRefParseErrorKind

ts
type SecretRefParseErrorKind = 
  | "empty-input"
  | "malformed-uri"
  | "invalid-scheme"
  | "unknown-scheme"
  | "missing-authority"
  | "unexpected-authority"
  | "empty-path"
  | "invalid-percent-encoding"
  | "naked-string";

Defined in: packages/security/src/secrets/errors.ts:37

Discriminator union for SecretRefParseError. Lets callers branch on the failure mode without parsing the message string.

Stable