Function 5D0Ah          Set Extended Error                           DOS 3.1+

Sets the error class, location, suggested action, and other
information that will be returned by the next call to function 59h.

Entry AX = 5D0Ah
DS:DX = Pointer to an Error structure

Return Nothing


The Error structure contains error information as well as the
contents of the registers when an error occurred.

Note
This function was undocumented before DOS 5.0. The MS-DOS
Programmer's Reference 5.0 incorrectly states that this call was
introduced in DOS 4.0 and that the pointer should be passed in
the DS:SI registers.