Simplify error handling thanks to the last change in the `sds' library.