ErrLookup › jquense/yup
jquense/yup
Dead simple Object schema validation · TypeScript · 36 source files
Analyzed at ff31eee8a2 on 2026-08-31. 22 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| either `then:` or `otherwise:` is required for `when()` cond | exception | error | yup, schema, condition, configuration |
| conditions must return a schema object | exception | error | yup, schema, condition, type-error |
| lazy() functions must return a valid schema | exception | error | yup, schema, lazy, type-error |
| ref must be a string, got: | exception | error | yup, ref, type-error, argument |
| ref must be a non-empty string | exception | error | yup, ref, empty-string, argument |
| `array.of()` sub-schema must be a valid yup schema not: ${pr | exception | error | yup, array, schema, type-error |
| `${name}` must be a Date or a value that can be `cast()` to | exception | error | yup, date, cast, type-error |
| You must provide a yup schema constructor function | exception | error | yup, addmethod, plugin, type-error |
| A Method name must be provided | exception | error | yup, addmethod, argument, type-error |
| Method function must be provided | exception | error | yup, addmethod, argument, type-error |
| Only valid options for round() are: ${avail.join(', ')} | exception | error | api-misuse, typeerror, number-schema |
| You cannot `concat()` schema's of different types: ${this.ty | exception | error | api-misuse, typeerror, schema-composition |
| The value of ${options.path || 'field'} could not be cast to | exception | error | typeerror, casting, schema-validation |
| ${errors.length} errors occurred | validation | error | validation, aggregate-error, sync-validation |
| `test` is a required parameters | exception | error | api-misuse, typeerror, custom-test |
| Exclusive tests must provide a unique `name` identifying the | exception | error | api-misuse, typeerror, custom-test |
| Validation test of type: "${ctx.type}" returned a Promise du | exception | error | async, sync-validation, custom-test |
| Yup.reach cannot implicitly index into a tuple type. the pat | exception | error | path-resolution, tuple, reach |
| Yup.reach cannot resolve an array item at index: ${_part}, i | exception | error | path-resolution, array-index, reach |
| The schema does not contain the path: ${path}. (failed at: $ | exception | error | path-resolution, reach, schema-mismatch |
| Must include `key` or `index` for nested validations | exception | error | yup, nested-schema, typeerror, internal-api, missing-key |
| Unable to clone ${src} | exception | error | yup, clone, deep-copy, unsupported-type, schema-options |