@usine/config/file
Classes
Section titled “Classes”ConfigFileError
Section titled “ConfigFileError”A failure pinned to one authored file and one parse stage, so the UI can quarantine that file alone.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ConfigFileError(…
args):ConfigFileError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”expression
Section titled “expression”
readonlyexpression:Option<string&Brand<"ExpressionSource">>
readonlyfile:string&Brand<"InstancePath">
message
Section titled “message”
readonlymessage:string
readonlystage:"expression"|"frontmatter"|"read"|"reference"|"schema"|"yaml"
FactoryConfigError
Section titled “FactoryConfigError”The registry or settings could not be loaded, which blocks the whole instance.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FactoryConfigError(…
args):FactoryConfigError
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyfile:string&Brand<"InstancePath">
message
Section titled “message”
readonlymessage:string
readonlystage:"expression"|"frontmatter"|"read"|"reference"|"schema"|"yaml"
Type Aliases
Section titled “Type Aliases”ConfigError
Section titled “ConfigError”ConfigError = typeof
ConfigError.Type
FileStage
Section titled “FileStage”FileStage = typeof
FileStage.Type
InstancePath
Section titled “InstancePath”InstancePath = typeof
InstancePath.Type
Path of one authored file, relative to the instance folder.
Variables
Section titled “Variables”ConfigError
Section titled “ConfigError”
constConfigError:Schema.Union<readonly [typeofConfigFileError, typeofFactoryConfigError]>
FileStage
Section titled “FileStage”
constFileStage:Schema.Literals<readonly ["expression","frontmatter","read","reference","schema","yaml"]>
InstancePath
Section titled “InstancePath”
constInstancePath:Schema.brand<Schema.NonEmptyString,"InstancePath">
Path of one authored file, relative to the instance folder.