What types of transmission and reception errors are capable of being detected by the serial library and how are they handled or reported?
The primary purpose of the serial libraries is to handle parsing of received frames (e.g. such that your application may work with convenient frame objects, as opposed to dealing with arrays of raw bytes to interpret, etc.) and construction of outgoing frames (e.g. instantiate an RHAFormNetwork frame and send it to our application).
The only validation the libraries provide is in discarding invalid frames (e.g. unknown headers, bad checksums, etc.). Application-level error handling is ultimately done by the underlying ZigBee application, with error conditions passed up to the Host in dedicated frames.
These conditions vary from errors that occur on the network to errors that may occur during serial communications between the ZigBee application and the Host application. Please take a look at the Frame Payload Definitions for the Error and Status Response frames, under the Utility Frames command set for more information. Status Responses are issued under numerous conditions and cover a wide array of error outcomes.