Core
Write Plugins v2.x
2

# 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')
]);