diff options
| author | Enrico Tassi | 2014-05-12 10:20:06 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2014-05-15 10:27:14 +0200 |
| commit | fb8636fbae31aea69986311b755930b0c32e349c (patch) | |
| tree | 0313a9c68750d29d9d088a089ed528deccba8b62 /lib/future.ml | |
| parent | aaebc8d9d24b2e989b26333e43f6e41c6d77d01d (diff) | |
Future: better error message
Diffstat (limited to 'lib/future.ml')
| -rw-r--r-- | lib/future.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/future.ml b/lib/future.ml index b82948276f..690255edda 100644 --- a/lib/future.ml +++ b/lib/future.ml @@ -27,7 +27,7 @@ let _ = Errors.register_handler (function | _ -> raise Errors.Unhandled) type fix_exn = exn -> exn -let id x = prerr_endline "no fix_exn"; x +let id x = prerr_endline "Future: no fix_exn.\nYou have probably created a Future.computation from a value without passing the ~fix_exn argument. You probably want to chain with an already existing future instead."; x module UUID = struct type t = int |
