include context and body when passing errors