(sctx *super.Context, msg string, len uint32)
| 35 | } |
| 36 | |
| 37 | func NewStringError(sctx *super.Context, msg string, len uint32) *Error { |
| 38 | vals := NewConstString(msg, len) |
| 39 | return &Error{Typ: sctx.LookupTypeError(super.TypeString), Vals: vals} |
| 40 | } |
| 41 | |
| 42 | func NewMissing(sctx *super.Context, len uint32) *Error { |
| 43 | return NewStringError(sctx, "missing", len) |
no test coverage detected