Add top level API for errors.