Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_system
throw/4
Description
throw/4 is an Erlang function exported by "age_system" module.
A simplified version of raise/7 that particularly throws AGE exceptions.
References
•raise/7
Parameters
Name
Type
Severity
age_exception_severity()
Optional severity descriptor in accordance with RFC 5424. Defaults to error.
Message
any()
Any term(s) that describe the exception case.
Reason
Optional contextual reason of terms. Defaults to undefined.
Facility
Optional facility terms as described by RFC 5424. Defaults to undefined.
Result
Value or Type
throw(#age_exception{}).
Throws an exception record.