mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
a6f3e635d4
* feat(docs): add local authoring and resource workflows Add docs +script workflows for isolated draft initialization and tolerant XML/Markdown profiling. Support local and remote document resources across create and update flows with safe, bounded-concurrency uploads, binding verification, and cleanup. Synchronize shared credential-source selection during concurrent uploads, refresh lark-doc guidance, and expand unit, dry-run, and live E2E coverage. * docs(lark-doc): clarify genre reference paths * fix(docs): address PR validation feedback * docs(lark-doc): clarify remote image handling * feat: streamline docs draft workflow * fix(docs): clarify script input and resource cleanup * fix(docs): align script dry-run test with auth flow * fix(docs): authenticate local script e2e test * fix(docs): refine script diagnostics and image preflight * fix(docs): align draft workspace cleanup with VFS * fix(docs): route workspace cleanup through FileIO * docs(lark-doc): simplify profile check guidance
19 lines
482 B
Go
19 lines
482 B
Go
// Copyright (c) 2026 Lark Technologies Pte. Ltd.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package docxparse
|
|
|
|
import "fmt"
|
|
|
|
// parseError is an internal parser-domain error. Command boundaries attach the
|
|
// relevant flag name and convert it to the public errs.* contract.
|
|
type parseError struct {
|
|
message string
|
|
}
|
|
|
|
func (e *parseError) Error() string { return e.message }
|
|
|
|
func newParseError(format string, args ...any) error {
|
|
return &parseError{message: fmt.Sprintf(format, args...)}
|
|
}
|