PartialError #
Partial request success.
Constructor #
new context.error.PartialError(message, failures);
Arguments | Type | Description |
---|---|---|
message | string | Error message |
failures | KuzzleError[] | List of encountered errors |
Status Code #
206
Example #
const err = new context.errors.PartialError('error message', [
new context.errors.BadRequestError('[request part] invalid format'),
new context.errors.ForbiddenError('[other request part] forbidden')
]);
Edit this page on Github(opens new window)