This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Biabduction__Exceptions (infer.Biabduction__Exceptions)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» Biabduction__Exceptions</nav><h1>Module <code>Biabduction__Exceptions</code></h1><navclass="toc"><ul><li><ahref="#biabduction-uses-exceptions-to-store-issues-in-summaries">Biabduction uses exceptions to store issues in summaries</a></li></ul></nav></header><section><header><h2id="biabduction-uses-exceptions-to-store-issues-in-summaries"><ahref="#biabduction-uses-exceptions-to-store-issues-in-summaries"class="anchor"></a>Biabduction uses exceptions to store issues in summaries</h2></header><dl><dtclass="spec exception"id="exception-Abduction_case_not_implemented"><ahref="#exception-Abduction_case_not_implemented"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Abduction_case_not_implemented</span><spanclass="keyword">of</span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Analysis_stops"><ahref="#exception-Analysis_stops"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Analysis_stops</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a> option</span></code></dt><dtclass="spec exception"id="exception-Array_of_pointsto"><ahref="#exception-Array_of_pointsto"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Array_of_pointsto</span><spanclass="keyword">of</span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Array_out_of_bounds_l1"><ahref="#exception-Array_out_of_bounds_l1"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Array_out_of_bounds_l1</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Array_out_of_bounds_l2"><ahref="#exception-Array_out_of_bounds_l2"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Array_out_of_bounds_l2</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Array_out_of_bounds_l3"><ahref="#exception-Array_out_of_bounds_l3"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Array_out_of_bounds_l3</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Bad_footprint"><ahref="#exception-Bad_footprint"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Bad_footprint</span><spanclass="keyword">of</span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Cannot_star"><ahref="#exception-Cannot_star"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Cannot_star</span><spanclass="keyword">of</span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Class_cast_exception"><ahref="#exception-Class_cast_exception"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Class_cast_exception</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Custom_error"><ahref="#exception-Custom_error"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Custom_error</span><spanclass="keyword">of</span> string * <ahref="../IBase/IssueType/index.html#type-severity">IBase.IssueType.severity</a> * <ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a></code></dt><dtclass="spec exception"id="exception-Dangling_pointer_dereference"><ahref="#exception-Dangling_pointer_dereference"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Dangling_pointer_dereference</span><spanclass="keyword">of</span> bool * <ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Divide_by_zero"><ahref="#exception-Divide_by_zero"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Divide_by_zero</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Field_not_null_checked"><ahref="#exception-Field_not_null_checked"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Field_not_null_checked</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Empty_vector_access"><ahref="#exception-Empty_vector_access"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Empty_vector_access</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Inherently_dangerous_function"><ahref="#exception-Inherently_dangerous_function"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Inherently_dangerous_function</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a></code></dt><dtclass="spec exception"id="exception-Internal_error"><ahref="#exception-Internal_error"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Internal_error</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a></code></dt><dtclass="spec exception"id="exception-Leak"><ahref="#exception-Leak"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Leak</span><spanclass="keyword">of</span> bool * bool * <ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * bool * <ahref="../IR/PredSymb/index.html#type-resource">IR.PredSymb.resource</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Missing_fld"><ahref="#exception-Missing_fld"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Missing_fld</span><spanclass="keyword">of</span><ahref="../IR/Fieldname/index.html#type-t">IR.Fieldname.t</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Premature_nil_termination"><ahref="#exception-Premature_nil_termination"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Premature_nil_termination</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Null_dereference"><ahref="#exception-Null_dereference"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Null_dereference</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Parameter_not_null_checked"><ahref="#exception-Parameter_not_null_checked"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Parameter_not_null_checked</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Precondition_not_found"><ahref="#exception-Precondition_not_found"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Precondition_not_found</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Precondition_not_met"><ahref="#exception-Precondition_not_met"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Precondition_not_met</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Retain_cycle"><ahref="#exception-Retain_cycle"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Retain_cycle</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Registered_observer_being_deallocated"><ahref="#exception-Registered_observer_being_deallocated"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Registered_observer_being_deallocated</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a> * <ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Skip_function"><ahref="#exception-Skip_function"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Skip_function</span><spanclass="keyword">of</span><ahref="../Absint/Localise/index.html#type-error_desc">Absint.Localise.error_desc</a></code></dt><dtclass="spec exception"id="exception-Symexec_memory_error"><ahref="#exception-Symexec_memory_error"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Symexec_memory_error</span><spanclass="keyword">of</span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt><dtclass="spec exception"id="exception-Wrong_argument_number"><ahref="#exception-Wrong_argument_number"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">Wrong_argument_number</span><spanclass="keyword">of</span><ahref="../IBase/Logging/index.html#type-ocaml_pos">IBase.Logging.ocaml_pos</a></code></dt></dl><dl><dtclass="spec value"id="val-handle_exception"><ahref="#val-handle_exception"class="anchor"></a><code><spanclass="keyword">val</span> handle_exception : exn <span>-></span> bool</code></dt><dd><p>Return true if the exception is not serious and should be handled in timeout mode</p></dd></dl><dl><dtclass="spec value"id="val-print_exception_html"><ahref="#val-print_exception_html"class="anchor"></a><code><spanclass="keyword">val</span> print_exception_html : string <span>-></span> exn <span>-></span> unit</code></dt><dd><p>print a description of the exception to the html output</p></dd></dl><dl><dtclass="spec value"id="val-recognize_exception"><ahref="#val-recognize_exception"class="anchor"></a><code><spanclass="keyword">val</span> recognize_exception : exn <span>-></span><ahref="../Absint/IssueToReport/index.html#type-t">Absint.IssueToReport.t</a></code></dt></dl></section></div></body></html>