In file ../include/EST_error.h:

enum EST_error_behaviour

Defines the attitude of a call to possible fatal errors.

[more] est_errors_checked
Function will not normally return an error unless something really bad has gone wrong.
[more] est_errors_allowed
Function will throw errors when feature doesn't exist
[more] est_errors_never
No fatal errors allowed.


Documentation

Defines the attitude of a call to possible fatal errors. Passing one of these values to a function tells it how much care it needs to take to avoid calls to EST_error.

These need snappier names. the numbers are their for historical reasons

o est_errors_checked
Function will not normally return an error unless something really bad has gone wrong. For feature lookup, will return default value if feature doesn't exist

o est_errors_allowed
Function will throw errors when feature doesn't exist

o est_errors_never
No fatal errors allowed. Function must catch all EST_error calls. Will *always* return a default value.

Alphabetic index HTML hierarchy of classes or Java


This page is part of the Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact: speech_tools@cstr.ed.ac.uk