Skip to content

combineErrors ​

Overview ​

Combine errors into a single array of errors.

Signature ​

combineErrors(errors)

Parameters ​

NameTypeRequiredDescription
errorsError | FetchError | Error | FetchError[]yesan error or an array of errors

Returns ​

Error | FetchError[]

  • a single array of errors

Source ​

client/lib/utils/errors.js:20