(sctx *super.Context, msg string, val Any)
| 44 | } |
| 45 | |
| 46 | func NewWrappedError(sctx *super.Context, msg string, val Any) *Error { |
| 47 | msgVec := NewConstString(msg, val.Len()) |
| 48 | return NewVecWrappedError(sctx, msgVec, val) |
| 49 | } |
| 50 | |
| 51 | func NewVecWrappedError(sctx *super.Context, msg Any, val Any) *Error { |
| 52 | recType := sctx.MustLookupTypeRecord([]super.Field{ |