* What variants are useful to provide? What errors might a consumer of the library want to actually handle? * Some error variants may only apply to certain methods. Should the same error type be used everywhere, or might it be helpful to have more than one? * The `x11` code currently has a `swbuf_err` helper method. Any helpers like this should be in `error.rs` and used in other backends where it's useful.
x11code currently has aswbuf_errhelper method. Any helpers like this should be inerror.rsand used in other backends where it's useful.