mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 22:26:38 +08:00
f2ab94501c
- Relocated go.mod and go.sum into backend/ root directory - Stripped redundant backend/ segments from all Go imports (github.com/Rain-kl/Wavelet/...) - Unified Makefile, swagger, and build-test to execute in backend/ module context - Ensured 100% build-test, code-check, format, and swagger pass
17 lines
446 B
Go
17 lines
446 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package ingest
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/Rain-kl/Wavelet/plugins/domain/upload/shared"
|
|
)
|
|
|
|
// ErrForbidden indicates the caller is not allowed to mutate the upload record.
|
|
var ErrForbidden = errors.New("upload forbidden")
|
|
|
|
// ErrStorageReadOnly indicates the storage backend is in migration read-only mode.
|
|
var ErrStorageReadOnly = errors.New(shared.ErrStorageReadOnly)
|