Exn.BackendSourceExtensible backend-specific exceptions.
register_pp pp adds pp as a pretty-printer of backend errors.
pp f err should format err using f, if possible. It should return true on success, or false if it didn't recognise err.