`
mryufeng
  • 浏览: 982424 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Exit Reasons (备查)

F# 
阅读更多
9.4 Exit Reasons

When a run-time error occurs, that is an exception of class error, the exit reason is a tuple {Reason,Stack}. Reason is a term indicating the type of error:
Exit Reasons. Reason Type of error
badarg Bad argument. The argument is of wrong data type, or is otherwise badly formed.
badarith Bad argument in an arithmetic expression.
{badmatch,V} Evaluation of a match expression failed. The value V did not match.
function_clause No matching function clause is found when evaluating a function call.
{case_clause,V} No matching branch is found when evaluating a case expression. The value V did not match.
if_clause No true branch is found when evaluating an if expression.
{try_clause,V} No matching branch is found when evaluating the of-section of a try expression. The value V did not match.
undef The function cannot be found when evaluating a function call.
{badfun,F} There is something wrong with a fun F.
{badarity,F} A fun is applied to the wrong number of arguments. F describes the fun and the arguments.
timeout_value The timeout value in a receive..after expression is evaluated to something else than an integer or infinity.
noproc Trying to link to a non-existing process.
{nocatch,V} Trying to evaluate a throw outside a catch. V is the thrown term.
system_limit A system limit has been reached. See Efficiency Guide for information about system limits.

Stack is the stack of function calls being evaluated when the error occurred, given as a list of tuples {Module,Name,Arity} with the most recent function call first. The most recent function call tuple may in some cases be {Module,Name,[Arg]}.
3
0
分享到:
评论

相关推荐

    42 Reasons To Start a Business Analyst Career

    42 Reasons To Start a Business Analyst Career

    Six common Reasons of power Instability

    在IT行业的电源设计领域,电源不稳定性是一个常见且复杂的问题,它可能由多种原因引起,对设备性能和可靠性造成严重影响。根据给定的文件信息,我们可以深入探讨导致电源不稳定的六大常见原因,以及如何识别和解决...

    Python库 | reasons-0.1.0-py3.8.egg

    标题中的"Python库 | reasons-0.1.0-py3.8.egg"表明这是一个针对Python编程语言的库,具体来说是名为“reasons”的库,版本为0.1.0,它针对的是Python 3.8环境。在Python生态系统中,库是开发者常用的工具,用于提供...

    Reasons and Persons

    This book challenges, with several powerful arguments, some of our deepest beliefs about rationality, morality, and personal identity. The author claims that we have a false view of our own nature;...

    engine-move_reasons.c

    engine-move_reasons.c

    engine-move_reasons.h

    engine-move_reasons.h

    PyPI 官网下载 | reasons-0.1.0-py3.8.egg

    资源来自pypi官网。 资源全名:reasons-0.1.0-py3.8.egg

    10 reasons why PCs crash U must Know_Windows编程_crash_

    标题 "10 reasons why PCs crash U must Know" 提到的是关于电脑崩溃的十个常见原因,这通常是Windows操作系统用户面临的问题。在Windows编程中,理解这些原因对于开发稳定、高效的软件至关重要。下面将详细阐述这些...

    Reasons-Craft, 在字段布局中添加条件.zip

    Reasons-Craft, 在字段布局中添加条件 工艺 CMS 的原因 1.0.11 更新 22年月,2017: 语句考虑原因 2,矩阵支持和工艺 3 ( TL ;DR: 活动开发的原因已经被淘汰用条件conditionals你的字段布局。 由于WordPress的高级...

    机器学习技法_05_Reasons_behind_Large-Margin_Hyperplane_13-31.mp4

    机器学习技法_05_Reasons_behind_Large-Margin_Hyperplane_13-31.mp4

    SF_Top10_Reasons - V2.pptx

    在 "SF_Top10_Reasons - V2.pptx" 文件中,提到了升级到 Storage Foundation 或 VxFusion(可能的最新版本)的十大理由。以下是对这些关键特性和优势的详细解释: 1. **异构平台支持**:Storage Foundation 支持...

    高通QMI WDS Reasons 错误码 V1.0 20220527

    【高通QMI WDS Reasons 错误码详解】 在无线通信领域,特别是涉及到5G技术的设备中,高通的QMI(Qualcomm Message Interface)协议是用于控制和管理移动设备与网络之间通信的重要接口。QMI WDS(Wireless Data ...

    28119_white_paper_reasons_to_migrate_to_delphi_xe.ZIP.zip

    本压缩包文件“28119_white_paper_reasons_to_migrate_to_delphi_xe.ZIP.zip”包含了一份名为“Reasons_to_migrate_to_Delphi_XE_White_Paper.pdf”的白皮书,专门讨论了迁移到Delphi XE的种种优势。以下将详细阐述...

    Ten Reasons to Use Divisible Load Theory

    ### 十大理由选择可分割负载理论:分布式计算的关键 #### 深入理解可分割负载理论(DLT) 在当今高度发达的信息时代,多处理器系统与数据密集型计算日益普遍,这催生了对高效计算负载调度的需求,尤其是那些可以在...

    Right for the wrong reasons: A clarification for Ysseldyke, Algozzine, Regan, and Potter

    Right for the wrong reasons: A clarification for Ysseldyke, Algozzine, Regan, and Potter PI I < hologi>3.0.co;2-5.pdf

    Top 10 Reasons Not to Try VMI.doc

    VMI(Vendor Managed Inventory)是一种供应链管理策略,由供应商负责管理客户的库存,通过实时数据共享来预测和控制库存水平,从而提高供应链效率。Janice Burk的这篇文章列出了十个不应尝试VMI的原因,并针对这些...

    101 Reasons To Switch To The Mac (2006)

    chm格式。。关于MAC的优点,参考资料

    Referral reasons for learning disabled students

    Referral reasons for learning disabled students Fsychofogv in the Schools Volume 23, Ocrober 1986 REFERRAL REASONS FOR LEARNING DISABLED STUDENTS PEGGY L . ANDERSON, MARY E. CRONIN, AND JAMES H....

    XP_10_reasons_to_fail.ppt

    《XP:应对软件项目失败的10个原因》 在信息技术领域,软件开发项目的成功率一直是一个备受关注的话题。尤其在Windows XP的时代,软件工程的方法论正在经历着革命性的变革。Ian Mitchell在2001年的演讲中探讨了XP...

Global site tag (gtag.js) - Google Analytics