# umf exceptions - avram - a virtual machine code interpreter
avram - a virtual machine code interpreter

#### D.17.3 `umf` exceptions

If an exceptional condition arises from the use of this library, one of the following lists of character strings may be returned as the function result.

- `<'memory overflow'>` means the library function ran out of memory, most likely due to a matrix being too large.
- `<'bad umf specification'>` means an input parameter didn't conform to the appropriate format described above (umf input parameters)
- `<'umf error'>` covers any unexpected behavior or abnormal status returned by any function from the C language API.

For the *`_trp` functions. A non-square matrix will cause the second exception above. For the *`_col` functions, a non-square matrix will cause the third exception or cause an empty result to be returned.

The exceptions noted at the beginning of this section (External Libraries) are also possible.