Skip to content

uni-flow 公开 API(中文注解)


uni-flow 公开 API(中文注解) / YamlValidationError

Class: YamlValidationError ​

Defined in: yaml/errors.ts:6

Workflow YAML 的 schema / 语义校验失败(含 Ajv 错误列表)。

Extends ​

  • Error

Constructors ​

Constructor ​

new YamlValidationError(message, errors?): YamlValidationError

Defined in: yaml/errors.ts:10

Parameters ​

message ​

string

errors? ​

string[] = []

Returns ​

YamlValidationError

Overrides ​

Error.constructor

Properties ​

errors ​

readonly errors: string[]

Defined in: yaml/errors.ts:8

人类可读的逐条校验错误。

MIT Licensed