public function errors($errors, $defaultStatusCode = null, array $headers = [])
    {
        if ($errors instanceof ErrorResponseInterface) {
            return $this->getErrorResponse($errors);
        }

        if (is_array($errors)) {
            $errors = $this->api->getErrors()->errors(...$errors);
        }

        return $this->errors(
            $this->factory->createErrorResponse($errors, $defaultStatusCode, $headers)
        );
    }