wrap

inline fun <T> wrap(action: () -> T): Result<T>