Add a draft of how error processing might work, WIP

* Includes a few references. Definite work in progress.