package errdefs
import "github.com/moby/buildkit/solver/llbsolver/errdefs"
Index ¶
- func WithExecError(err error, inputs, mounts []solver.Result) error
- func WithExecErrorWithContext(ctx context.Context, err error, inputs, mounts []solver.Result) error
- func WithFileActionError(err error, idx int) error
- type ExecError
- func (e *ExecError) EachRef(fn func(solver.Result) error) (err error)
- func (e *ExecError) Release() error
- func (e *ExecError) Unwrap() error
- type FileActionError
Functions ¶
func WithExecError ¶
func WithExecErrorWithContext ¶
func WithFileActionError ¶
Types ¶
type ExecError ¶
type ExecError struct { Inputs []solver.Result Mounts []solver.Result OwnerBorrowed bool // contains filtered or unexported fields }
ExecError will be returned when an error is encountered when evaluating an op.
func (*ExecError) EachRef ¶
func (*ExecError) Release ¶
func (*ExecError) Unwrap ¶
type FileActionError ¶
type FileActionError struct { Index int // contains filtered or unexported fields }
FileActionError will be returned when an error is encountered when solving a fileop.
func (*FileActionError) ToSubject ¶
func (e *FileActionError) ToSubject() serrdefs.IsSolve_Subject
func (*FileActionError) Unwrap ¶
func (e *FileActionError) Unwrap() error
Source Files ¶
- Version
- v0.9.1
- Published
- Oct 4, 2021
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.