package hack_parallel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

* Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *

type t =
  1. | No_error
  2. | Build_error
  3. | Build_terminated
  4. | Checkpoint_error
  5. | Input_error
  6. | Kill_error
  7. | No_server_running
  8. | Out_of_time
  9. | Out_of_retries
  10. | Server_already_exists
  11. | Server_initializing
  12. | Type_error
  13. | Build_id_mismatch
  14. | Monitor_connection_failure
  15. | Unused_server
  16. | Lock_stolen
  17. | Lost_parent_monitor
  18. | Interrupted
  19. | Worker_oomed
  20. | Worker_busy
    (*

    An uncaught Not_found exception in the worker.

    *)
  21. | Worker_not_found_exception
  22. | Worker_failed_to_send_job
  23. | Socket_error
  24. | Missing_hhi
  25. | Dfind_died
  26. | Dfind_unresponsive
  27. | EventLogger_Timeout
  28. | EventLogger_restart_out_of_retries
  29. | EventLogger_broken_pipe
  30. | CantRunAI
  31. | Watchman_failed
    (*

    It is faster to exit the server (and have the Monitor restart the server) * on a Watchman fresh instance than to compute the files that have been * deleted and do an incremental check.

    *)
  32. | Watchman_fresh_instance
  33. | File_heap_stale
  34. | Hhconfig_deleted
  35. | Hhconfig_changed
  36. | Server_shutting_down
  37. | Server_name_not_found
  38. | IDE_malformed_request
  39. | IDE_no_server
  40. | IDE_out_of_retries
  41. | Nfs_root
  42. | IDE_init_failure
  43. | IDE_typechecker_died
  44. | Redecl_heap_overflow
  45. | Out_of_shared_memory
  46. | Shared_mem_assertion_failure
  47. | Hash_table_full
  48. | IDE_new_client_connected
  49. | Lazy_decl_bug
  50. | Decl_heap_elems_bug
  51. | Parser_heap_build_error
  52. | Heap_full
  53. | Sql_assertion_failure
  54. | Local_type_env_stale
  55. | Sql_cantopen
  56. | Sql_corrupt
  57. | Sql_misuse
  58. | Uncaught_exception
exception Exit_with of t
val exit_code : t -> int
val exit : t -> 'a
val to_string : t -> string
val unpack : Unix.process_status -> string * int
OCaml

Innovation. Community. Security.