Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMalformedKeyValueTuple = errors.New("malformed key-value tuple") ErrNotADictOrTuple = errors.New("main() should return a list of either dicts or tuples") ErrMixedList = errors.New("main() should return a list of either dicts or tuples, " + "found both types in a single list") )
View Source
var ( ErrLoadFailed = errors.New("load failed") ErrNotFound = errors.New("entrypoint not found") ErrMainFailed = errors.New("failed to call main") ErrHookFailed = errors.New("failed to call hook") ErrMainUnexpectedResult = errors.New("main returned unexpected result") ErrSanity = errors.New("sanity check failed") )
View Source
var ErrStarlarkConversion = errors.New("failed to convert Starlark data type")
Functions ¶
This section is empty.
Types ¶
type ErrExecFailed ¶
type ErrExecFailed struct {
// contains filtered or unexported fields
}
func (*ErrExecFailed) Error ¶ added in v0.53.0
func (eee *ErrExecFailed) Error() string
func (*ErrExecFailed) Unwrap ¶ added in v0.53.0
func (eee *ErrExecFailed) Unwrap() error
type ExtendedError ¶ added in v0.53.0
type ExtendedError struct {
// contains filtered or unexported fields
}
func (*ExtendedError) Error ¶ added in v0.53.0
func (ee *ExtendedError) Error() string
func (*ExtendedError) Is ¶ added in v0.54.0
func (ee *ExtendedError) Is(err error) bool
func (*ExtendedError) Logs ¶ added in v0.53.0
func (ee *ExtendedError) Logs() []byte
func (*ExtendedError) Unwrap ¶ added in v0.53.0
func (ee *ExtendedError) Unwrap() error
type HookResult ¶ added in v0.36.0
type Larker ¶
type Larker struct {
// contains filtered or unexported fields
}
func (*Larker) MainOptional ¶ added in v0.54.0
type MainResult ¶ added in v0.42.6
type Option ¶
type Option func(*Larker)
func WithAffectedFiles ¶ added in v0.42.0
func WithEnvironment ¶ added in v0.8.0
func WithFileSystem ¶
func WithFileSystem(fs fs.FileSystem) Option
func WithTestMode ¶ added in v0.53.0
func WithTestMode() Option
Source Files ¶
Click to show internal directories.
Click to hide internal directories.