Core
Write Plugins v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

PartialError #

Partial request success.

Constructor #

Copied to clipboard!
new context.error.PartialError(message, failures);

Arguments Type Description
message
string
Error message
failures KuzzleError[] List of encountered errors

Status Code #

206

Example #

Copied to clipboard!
const err = new context.errors.PartialError('error message', [
  new context.errors.BadRequestError('[request part] invalid format'),
  new context.errors.ForbiddenError('[other request part] forbidden')
]);