Skip to content

platform/policy/plist

Defined in: app/src/platform/policy/plist.ts:12

Thrown for malformed property lists.

  • Error

new PlistError(message?): PlistError

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080

string

PlistError

Error.constructor

new PlistError(message?, options?): PlistError

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080

string

ErrorOptions

PlistError

Error.constructor

readonly name: "PlistError" = 'PlistError'

Defined in: app/src/platform/policy/plist.ts:13

Error.name

PlistValue = string | number | boolean | Date | Uint8Array | readonly PlistValue[] | {[key: string]: PlistValue; }

Defined in: app/src/platform/policy/plist.ts:2

A value of an XML property list.

parsePlist(xml): PlistValue

Defined in: app/src/platform/policy/plist.ts:23

Parses an XML property list, as produced by plutil -convert xml1. Supports dict, array, string, integer, real, true, false, date and data.

string

The document.

PlistValue

The root value.

PlistError when the document is malformed.