Set error/value via context.