package errs
Import Path
src.elv.sh/pkg/eval/errs (on go.dev)
Dependency Relation
imports 2 packages, and imported by 7 packages
Involved Source Files
Package errs declares error types used as exception causes.
Package-Level Type Names (total 4, all are exported)
ArityMismatch encodes an error where the expected number of values is out of
the valid range.
Actual int
ValidHigh int
ValidLow int
What string
( T) Error() string
T : error
BadValue encodes an error where the value does not meet a requirement. For
out-of-range erros, use OutOfRange.
Actual string
Valid string
What string
Error implements the error interface.
T : error
var src.elv.sh/pkg/eval.ErrDivideByZero
var src.elv.sh/pkg/eval.ErrUncomparable
OutOfRange encodes an error where a value is out of its valid range.
Actual string
ValidHigh string
ValidLow string
What string
Error implements the error interface.
T : error
func src.elv.sh/pkg/eval/vals.negIndexOutOfRange(index string, n int) OutOfRange
func src.elv.sh/pkg/eval/vals.posIndexOutOfRange(index string, n int) OutOfRange
SetReadOnlyVar is returned by the Set method of a read-only variable.
Name of the read-only variable. This fiels is initially empty, and
populated later when context information is available.
Error implements the error interface.
T : error
Package-Level Functions (only one, which is unexported)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)